Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

PHP°²×°²½Ö裨ÒÔapache 2 + php5.3ΪÀý£©

1.     
Download Apache for windows MSI
file, and run it
By
default, port is 80, root dir is %apache_dir%/htdocs. You can update the
settings in conf/httpd.conf file
2.  If Apache Service can't be installed in "Control Panel > Admin Tools > Services",
        Execute following command in %apache_dir%/bin
           
httpd.exe -k install -n Apache2.2
      ÁíÍ⼸¸öÓÐÓõÄÃüÁ
¡¡¡¡¡¡¡¡remove apache service:       httpd.exe -k uninstall -n Apache2.2
            start apache service from :  httpd.exe -k start
            stop apache service:            httpd.exe -k stop    or
httpd.exe -k shutdown
            restart apache service:        httpd.exe -k restart
 
      Èç¹û²»Í¨¹ýwindows Apache service£¬Äã¿ÉÒÔÖ±½ÓʹÓÃÏÂÁÐÃüÁ
            start apache server:           httpd
            stop apache server:    
    httpd.exe -k shutdown
 
   
            restart apache server:        httpd.exe -k restart
 
2.     
Test if apache server works
1)     
Start server: start “Apache
service” from “Control Panel > select “Start > Programs > Apache http
server 2 > control apache server > start” or start serve


Ïà¹ØÎĵµ£º

PHPÔ´Âë½âÎö£¨Ò»£©

PHPÔ´´úÂë·ÖÎö
µ±Ç°°æ±¾PHP5.3.1
Ŀ¼½á¹¹
build ºÍ±àÒëÓйصÄĿ¼¡£
ext À©Õ¹¿â´úÂ룬ÀýÈç Mysql¡¢zlib¡¢iconv µÈÎÒÃÇÊìϤµÄÀ©Õ¹¿â¡£
main Ö÷Ŀ¼¡£
netware
pear
sapi ºÍ¸÷ÖÖ·þÎñÆ÷µÄ½Ó¿Úµ÷Óã¬ÀýÈçapache¡¢IISµÈ£¬Ò²°üº¬Ò»°ãµÄfastcgi¡¢cgiµÈ¡£
scripts Linux ϵĽű¾Ä¿Â¼¡£
tests ²âÊԽű¾Ä¿Â¼
TSRM
win32 ......

¡¶PHPºÍMySQL Web¿ª·¢¡·±Ê¼Ç֮ʹÓÃPHP£¨¶þ£©


µÚÎåÕ ´úÂëÖØÓÃÓ뺯Êý±àд
require()»òinclude()¿ÉÒÔ½«Ò»¸öÎļþÔØÈëµ½php½Å±¾ÖС£
ÕâÁ½¸öº¯Êý¼¸ºõµÈ¼Û£¬Î¨Ò»µÄÇø±ðÊǵ÷ÓÃʧ°Üºórequire()¸ø³öÒ»¸öÖÂÃü´íÎ󣬶øinclude()Ö»¸ø³öÒ»¸ö¾¯¸æ¡£
Èç¹ûWebÒ³Ãæ¾ßÓÐÒ»ÖµÄÍâ¹Û£¬¿ÉÒÔ½«ÏàͬµÄ²¿·Ö·ÖÀëµ½µ¥¶ÀµÄÒ³ÃæÖУ¬È»ºó¿ÉÒÔÔÚphpÖÐʹÓÃrequire()Óï¾ä½«Ä£°åÔªËØ¼ÓÈëµ½Ò³ÃæÖС£ ......

Ä£°åÒýÇæ PHPÄ£°åÒýÇæ¡¾smarty¡¿

[Smarty - ¹Ù·½ÍøÕ¾]
http://smarty.php.net/
[Smarty - ÏÂÔØµØÖ·]
µ±Ç°°æ±¾ 2.6.18, http://smarty.php.net/do_download.php?download_file=Smarty-2.6.18.tar.gz

È«²¿Áбí, http://smarty.php.net/download.php

[Smarty - Ïà¹ØÂÛ̳]
http://php.board.newsmth.net/
http://forum.c ......

FCKeditor µÄÅäÖúÍʹÓ÷½·¨(for PHP)

  FCKeditor ÊÇÒ»¸öÊ®·ÖÇ¿´óµÄÍøÒ³Îı¾±à¼­Æ÷£¬ËüÖ§³Ö¶àÖֽű¾±à³ÌÓïÑÔ(°üÀ¨ PHP)ºÍÖ§³Ö¶à¹úÓïÑÔ¡£
    FCKeditor ½ØÖÁ 2008Äê4ÔÂ6ÈÕ£¬Æä×îа汾ÊÇ 2.6RC£¬RC ¾ÍÊÇ Release Candidate£¬ÐÞ¶©ºóµÄºòÑ¡°æ±¾£¬ºÜ¿ÉÄÜ×÷Ϊ¸Ã°æ±¾µÄÎȶ¨°æÔÚδÀ´·¢²¼¡£Ä¿Ç°µÄ×îеÄÎȶ¨°æ(Latest Stable)ÊÇ 2.5.1¡£ÎÒÃÇ¿ÉÒÔµ ......

phpѧϰ±Ê¼Ç£¨11£©:MYSQLÔÚphp5ÖеÄÓ¦ÓÃ


1¡¢phpÓëmysql½¨Á¢Á¬½Ó
php.ini ¼ÓÔØmysql×é¼þ
extension=php_mysql.dllǰµÄ;È¥µô
exetension_dir=""·¾¶ÊÇ·ñÕýÈ·
PhpÁ¬½Ómysqlº¯Êý
mysql_connect:¿ªÆôMYSQLÁ¬½Ó
mysql_select_dir:´ò¿ªÒ»¸öÊý¾Ý¿â
@ºÍor die Òþ²Ø´íÎóºÍÌõ¼þÏÔʾ
mysql_connect("Ö÷»ú","Óû§Ãû","ÃÜÂë");  
mysql_sele ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ