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

Apache + PHP + MySql °²×°


ËùÐèÈí¼þ£¨×¢Òâ°æ±¾£¡£©£º
Apache2.2.3 
PHP5.1.5 
MySQL5.0.24
ÕâÈý¸öÈí¼þ¶¼ÊÇÃâ·ÑµÄ£¬¿É´Ó¹ÙÍøÉÏÏÂÔØ£¬Ä¿Ç°ÎÒËùÓеÄÈí¼þÃûΪ£º
apache_2.2.3-win32-x86-no_ssl.msi 
mysql-5.0.24-win32.zip 
php-5.1.5-Win32.zip
»ùÓÚwindows²Ù×÷ϵͳ£¬ÔÚWindows XPϰ²×°Ê¹Óãº
1¡¢°²×°¹ý³Ì£º 
Ê×ÏȰ²×°Apache·þÎñÆ÷£¬Ë«»÷apache_2.2.3-win32-x86-no_ssl.msi¼´¿É°²×°¡£ºÍÒ»°ã°²×°Ã»ÓÐʲôÁ½Ñù£¬¿É²ÉÓÃĬÈϰ²×°¡£ÕâÀïÑ¡ÓÃcomplete°²×°£¬°²×°Ä¿Â¼¿ÉÒÔÈÎÒâÑ¡Ôñ£¬ÕâÀïΪ£ºD:\Program Files\Apache Software Foundation\Apache2.2; 
½Ó׎«PHPѹËõ°ü£¨php-5.1.5-Win32.zip£©½âѹµ½Ò»¸öĿ¼ÀÀýÈ磺D:\php5 
×îºó°²×°MySQL£¬½âѹºóË«»÷Setup.exeÎļþ½øÐа²×°£¬°²×°¹ý³ÌÖÐ×îºÃд´½¨Ò»¸öÓû§²¢É趨ÃÜÂ룬ѡÔñ¿ÉÒÔÔÚÃüÁîÐÐÏÂÔËÐÐÑ¡Ï°²×°ÍêÖ®ºó¼´¿É½øÐÐÏêϸµÄÅäÖã¬ÈçÊý¾Ý¿âĿ¼£¨C:\database£©µÈµÈ¡£
2¡¢ÊµÏÖÖ÷ÒªÅäÖ㺠
°²×°ÊDZȽϼòµ¥µÄ¹ý³Ì£¬×îÖ÷ÒªµÄ»¹ÊÇÅäÖÃÎÊÌâ¡£
Ê×ÏÈʵÏÖPHPÓëApacheµÄÁ¬½Ó£¬ÔÚApache°²×°Ä¿Â¼ÏµÄconfĿ¼ÀïÓиöÅäÖÃÎļþhttpd.conf£¬ÓüÇʱ¾´ò¿ª£¬ÕÒµ½ÒÔϼ¸ÐУº 
1)Listen 80 
ServerName NerverWinter.domain:80 
2)#LoadModule ssl_module modules/mod_ssl.so 
3)DocumentRoot "d:/Program Files/Apache Software Foundation/phpdocuments" 
4)<Directory "d:/Program Files/Apache Software Foundation/phpdocuments"> 
5)DirectoryIndex index.html default.php 
6)AddType application/x-compress .Z 
AddType application/x-gzip .gz .tgz 
1£©ListenÊÇApache·þÎñÆ÷¼àÌý¶Ë¿Ú£¬Ä¬ÈÏΪ80£¬¿ÉÒÔ¸ü¸Ä£¬×¢ÒâServerName NerverWinter.domain:80ÕâÒ»ÐеĶ˿ںÅÒªºÍlistenµÄÒ»ÖÂ; 
2£©ÔÚ#LoadModule ssl_module modules/mod_ssl.soÏÂÃæÔö¼ÓÒ»ÐУº 
LoadModule php5_module modules/php5apache2.dll£¨×¢Ò⣺±ØÐ뽫php°²×°Ä¿Â¼ÀïµÄphp5apache2.dll¿½±´ÖÁApache°²×°Ä¿Â¼ÏµÄmodulesĿ¼£© 
3£©DocumentRootΪ·þÎñÆ÷Îĵµ¸ùĿ¼£¬ÎªÁ˹ÜÀíÎļþ£¬ÎÒ½«ÆäÉèΪD£º\wwwrootĿ¼£¨×Ô¼ºÊ×ÏÈÒª´´½¨¸ÃĿ¼£©
4£©½Ó×Å»¹ÒªÐÞ¸ÄÉÏÃæµÚ4ÏîµÄĿ¼ΪÉÏÃæÖ¸¶¨µÄ¸ùĿ¼µÄ


Ïà¹ØÎĵµ£º

È·±£PHP°²È«µÄËÄÌõ°²È«¹æÔò

ÓйØPHP
°²È«µÄ¼¸Ìõ¹æÔò
¹æÔò 1£º¾ø²»ÒªÐÅÈÎÍⲿÊý¾Ý»òÊäÈë
¹ØÓÚ Web Ó¦ÓóÌÐò°²È«ÐÔ£¬±ØÐëÈÏʶµ½µÄµÚÒ»¼þÊÂÊDz»Ó¦¸ÃÐÅÈÎÍⲿÊý¾Ý¡£ÍⲿÊý¾Ý£¨outside data£© °üÀ¨²»ÊÇÓɳÌÐòÔ±ÔÚ PHP

´úÂëÖÐÖ±½ÓÊäÈëµÄÈκÎÊý¾Ý¡£ÔÚ²ÉÈ¡´ëʩȷ±£°²È«Ö®Ç°£¬À´×ÔÈÎºÎÆäËûÀ´Ô´£¨±ÈÈç GET ±äÁ¿¡¢±íµ¥ POST¡¢Êý¾Ý¿â¡¢ÅäÖÃÎļþ¡¢»á»°±äÁ¿»ò ......

windowsÏÂapache,mysql,php°²×°ÈÕ¼Ç

½ñÌì·ÏÁËÒ»ÌìµÄʱ¼äÀ´´Óаѻ·¾³´î½¨ºÃ£º×ö¸ö±Ê¼Ç
°²×°Ë³Ðò£º
apache->php->mysql
һЩעÒâµÄµØ·½¼ÇÏÂÀ´°É£º
1. apache Ö§³Ö php
    apache ÅäÖÃÎļþÏ£ºÐèÒªÐ޸ĵĵط½£º
       i.  PHPIniDir "F:/programs/php/"
    &n ......

PHP $_SERVERѧϰ

³õѧPHP,¶Ô$_SERVERÕâ¸ö¶«Î÷ºÜ¸ÐÐËȤ.ÔÚÍøÉÏÕÒÁËN³¤Ê±¼ä.ÊÇÎÒÖÇÉÌÓÐÎÊÌâ? »¹ÊÇ?
ºÇºÇ.¸É´à²»Èç×Ô¼ºÒ»¸öÒ»¸ö¿´...
ÎÒµÄIDE»·¾³: XmappÊ¡×Å×Ô¼ºÅäÖÃÁË...
//¹¦ÄÜ:´òÓ¡$_SERVER->Array();
/*PHP Code Star*/
foreach ($_SERVER as $key => $value)
{
 echo $key.":".$value."<br>";
}
/*PHP Code En ......

php³ÌÐòÌáËÙÔ­Àí·ÖÎö

Ô­Ìù:http://www.paitoubing.cn/blog/tag/apc
php³ÌÐòÌáËÙÔ­Àí·ÖÎö
2008Äê7ÔÂ19ÈÕ
ûÓÐÆÀÂÛ


¹Ø¼ü´Ê£ºxCache,Zend Accelerator,memcahced,xdebug£¬Zend Optimizer,APC.
»º³å²ã¼¶±ðµÄÓÅ»¯
xCacheÊÇ°Ñ PHP ²Ù×÷Â뻺´æµ½ÄÚ´æÖÐµÄ PHP À©Õ¹ÖУ¬XCache ½«±ÜÃâ´ú¼Û¸ß°ºÇÒ²»±ØÒªµÄ»¨·ÑÀ´ÖØÐ±àÒëÏ ......

PHP ×°ÉÏAPCÖ®ºóµÄÎÊÌâ:

Ô­Ìù:http://www.162cm.com/archives/433.html


Blog
ÁªÏµÎÒ
about
PHP ×°ÉÏAPCÖ®ºóµÄÎÊÌâ:
APCÓÉÓÚÄܹ»»º´æÎļþÉÏ´«½ø¶È,Òò´ËËãÊǽâ¾öÁËÒ»Ö±ÒÔÀ´À§ÄÓPHP¿ª·¢ÈËÔ±µÄÒ»¸öÀÏ´óÄÑ,ËùÒÔÎÒÒ²ÌØ±ðϲ»¶ËûÁË¡£Èç¹û¶ÔphpʵÏÖÎļþÉÏ´«½ø¶ÈÌõÓÐÀ§ ÄÑ£¬¿ÉÒÔ¿´ÕâÀï
¡£
²»¹ý½ñÌì·¢ÏÖ,APCÐû³ÆµÄ¼ÓËÙ¹¦ÄÜ,ÆäʵҲÊÇÒ»ÖÖ»º´æ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ