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

windows2003+iis6+php+mysql ·þÎñÆ÷ÅäÖÃ

ÔÚÍøÉÏ¿´Á˺ܶà¹ØÓÚwindows2003+iis6+php+mysql ·þÎñÆ÷ÅäÖõÄÎÄÕ£¬´óÌåÉ϶¼ÊÇ»¥Ïà³­Ï®£¬²»¹ýһЩ¹«¹²µÄÐÅÏ¢»¹ÊǺÜÕýÈ·µÄ£¬µ«ÊÇÕë¶ÔһЩÌرðµÄ»úÆ÷»òÕßÒòΪ¸öÈ˲»Í¬µÄÅäÖÃ×ܲ»ÄÜ°´ÕÕÎÄÕµÄÄÚÈݲÙ×÷³É¹¦£¬ÏÂÃæ˵һÖÖ½ÏΪ¼òµ¥µÄ²Ù×÷·½·¨£¬²½ÖèÈçÏ£º
1.iis°²×°£¨ÂÔ£©
2.ÏÂÔØAppServ²¢°²×°
3.ÔÚc:\½¨php5Îļþ¼Ð£¬È»ºóÔÙphp5Îļþ¼ÐϽ¨php.iniÎļþ£¨¾ÍÊÇ´ÓAppServ|php5Ï¿½±´¹ýÀ´£©
4.ÐÞ¸Äphp.ini,ÕÒµ½ register_globals = Off ¸ÄΪ register_globals = On
ÕÒµ½ extension_dir = "./" ¸ÄΪ extension_dir = "F:\php\ext"
ÕÒµ½
;extension=php_dbase.dll
;extension=php_gd2.dll    £¨ÕâÊÇÓÃÀ´Ö§³ÖGD¿âµÄ£©
;extension=php_mbstring.dll    £¨Õⲻѡһ°ãÓÃPHPMYADMIN»á³öºìÉ«Ìáʾ£¬¹Ê±ØÑ¡£©
;extension=php_mcrypt.dll
;extension=php_mssql.dll   £¨Õâ¸öÊÇÓÃÀ´Ö§³ÖMSSQLµÄ£¬¿ÉÑ¡£©
;extension=php_mysql.dll   £¨Õâ¸öÊÇÓÃÀ´Ö§³ÖMYSQLµÄ£¬ÒªÖ§³ÖMYSQL±ØÑ¡£©
½«ÕâЩÎÄ×ÖÇ°ÃæµÄ"£»"È¥µô£¬ÆäËûµÄÄãÐèÒªµÄÒ²¿ÉÒÔÈ¥µôÇ°ÃæµÄ;È»ºó¹Ø±Õ±£´æ¸ÃÎļþ¡£
5.ÉèÖÃiis£¬ÈÃÆäÖ§³Öphp£¬
1)´ò¿ª¿ØÖÆÃæ°å→¹ÜÀí¹¤¾ß→InternetÐÅÏ¢·þÎñ(IIS)¹ÜÀíÆ÷
2)ÓÒ»÷ÐèÒªPHP¹¦ÄܵÄÍøÕ¾£¬Ñ¡ÔñÊôÐÔ
3)µ¥»÷“ISAPIɸѡÆ÷”Ñ¡Ï£¬ÔÙµã»÷“Ìí¼Ó”°´Å¥£¬ÔÚµ¯³öµÄ“ɸѡÆ÷ÊôÐÔ”¶Ô»°¿òÖУ¬ÒÀ´ÎÌîÈëɸѡÆ÷Ãû³Æ“php”£¬¿ÉÖ´ÐÐÎļþ“F:\php\php5isapi.dll”×îºóµã»÷“È·¶¨”°´Å¥Í˳ö¡£
4)µ¥»÷“Ö÷Ŀ¼”Ñ¡Ï£¬Ñ¡Ôñ“ÅäÖÔ°´Å¥£¬¿ÉÖ´ÐÐÎļþÖÐÊäÈë“F:\php\php5isapi.dll”£¬À©Õ¹ÃûÖÐÊäÈë“.PHP”
5)µ¥»÷“Îĵµ”Ñ¡Ï£¬Ìí¼ÓĬÈÏÖ÷ҳΪ“index.php”
6)ÔÚIIS¹ÜÀíÆ÷Öе¥»÷“Web·þÎñÀ©Õ¹”£¬ÔÙµã»÷“Ìí¼ÓÒ»¸öÐ嵀 Web ·þÎñÀ©Õ¹”£¬ÉèÖÃÀ©Õ¹ÃûΪ“.PHP”£¬Ìí¼ÓÒªÇóµÄÎļþΪ“F:\php\php5isapi.dll”£¬²¢Ñ¡ÖГÉèÖÃÀ©Õ¹×´Ì¬ÎªÔÊÐ픸´Ñ¡¿ò¡£
7)¿ªÊ¼²Ëµ¥→ÔËÐУ¬ÊäÈë“CMD”ÃüÁ½øÈëÃüÁîÐУ¬ÒÀ´ÎÊäÈëÒÔÏÂÃüÁî¡£
net stop w3svc
net stop iisadmin
net start w3svc
8)ÔÚFÅ̵ÄWEBĿ¼ÏÂн¨Ò»¸öÃûΪ“phpinfo.php”µÄÎļþ£¬ÄÚÈÝÈçÏ£º
<?php phpinfo();?>
6.ÖØÆô»úÆ÷
µ½´ËΪֹһÇд󹦸æ³É£¡


Ïà¹ØÎĵµ£º

MySQLÐÔÄÜÓÅ»¯µÄ×î¼Ñ20+Ìõ¾­Ñé

½ñÌ죬Êý¾Ý¿âµÄ²Ù×÷Ô½À´Ô½³ÉΪÕû¸öÓ¦ÓõÄÐÔÄÜÆ¿¾±ÁË£¬Õâµã¶ÔÓÚWebÓ¦ÓÃÓÈÆäÃ÷ÏÔ¡£¹ØÓÚÊý¾Ý¿âµÄÐÔÄÜ£¬Õâ²¢²»Ö»ÊÇDBA²ÅÐèÒªµ£ÐĵÄÊ£¬¶øÕâ¸üÊÇÎÒÃdzÌÐòÔ±ÐèҪȥ¹Ø×¢µÄÊÂÇé¡£µ±ÎÒÃÇÈ¥Éè¼ÆÊý¾Ý¿â±í½á¹¹£¬¶Ô²Ù×÷Êý¾Ý¿âʱ£¨ÓÈÆäÊDzé±íʱµÄSQLÓï¾ä£©£¬ÎÒÃǶ¼ÐèҪעÒâÊý¾Ý²Ù×÷µÄÐÔÄÜ¡£ÕâÀÎÒÃDz»»á½²¹ý¶àµÄSQLÓï¾äµÄÓÅ»¯£¬¶øÖ»ÊÇÕë ......

Bugfree £¨Apache php MySQL£©µÄ°²×°

Ò»¡¢Apache HTTP Server °²×°£º
ÔËÐÐApache .msi Îļþ£¬°²×°³ÌÐò½«ÒªÇóÄãÌîдÈçÏÂÄÚÈÝ£º
1. Network Domain¼üÈëÄãµÄ·þÎñÆ÷£¨»òÕßÊÇÄã¼´½«×¢²áµÄ·þÎñÆ÷£©µÄDNS ÓòÃû¡£ÀýÈ磬ÄãµÄ·þÎñÆ÷µÄDNSÓòÃûÈ«³ÆÊÇserver.mydomain.net,ÄãÖ»ÐèÔÚÕâÀïÊäÈëmydomain.net¡£
2. Server Name  ¾ÍÊÇÄãµÄ·þÎñÆ÷µÄDNSÓòÃûÈ«³Æ£¬»¹ÊÇÉÏÃæµÄÀ ......

PHP ÖÆ×÷ͨѶ¼£¨Ò»£©

×î½üÔÚѧPHP £¬¾õµÃ±È½Ï¼òµ¥£¬¿ÉÄÜÊÇÒòΪÓÐÒ»µã±à³Ì¾­ÑéµÄÔµ¹Ê°É£¬½ñÌì½Ì´ó¼ÒÓÃPHPÖÆ×÷ͨѶ¼£¬¹¦ÄܱȽϼòµ¥£¬µÚÒ»´Î×öÍøÒ³½Ì³Ì£¬¶øÇÒ²»ÊǺÜÓÐPHP¾­Ñ飬ËùÒÔ²»×ãµÄµØ·½´ó¼ÒÁôÑÔ¸æËßÎÒ£¬·Ï»°²»¶à˵£¬ÏÖÔÚ¿ªÊ¼
»·¾³£ºWindows XP SP3 + PHP5 + apache2 + mysql5
Ê×ÏÈ´´½¨Ò»¸öÊý¾Ý¿â£¬ÃûΪ MyDB £¨ÎÒÕâÀïʹÓõÄÊÇMySQL£©£¬SQL ......

php ÑéÖ¤Âë×ܽá

´úÂëÈçÏÂ:
    <?php
       /*   ÍøÕ¾ÑéÖ¤Âë³ÌÐò
        *   ÔËÐл·¾³£º PHP5.0.18 ϵ÷ÊÔͨ¹ý
        *   ÐèÒª gd2 ͼÐοâÖ§³Ö£¨PHP.INIÖÐ php_gd2.dll¿ªÆ ......

MYSQL 8Сʱ¶Ï¿ªÁ´½ÓÎÊÌâºÍ½â¾ö°ì·¨

MYSQL 8Сʱ ¶Ï¿ªÁ´½ÓÎÊÌâ
½â¾ö°ì·¨ÓÐÁ½¸ö£ºµÚÒ»ÊÇÉèÖÃautoReconnectÊôÐÔÉèÖÃΪtrue£»µÚ¶þÊÇÉèÖÃDBCP ʱ½«testqueryµÈ¼¸¸öÊôÐÔÒ»²¢ÉèÖá£
ÎÊÌâµÄÔ­ÒòÊÇ£¬MySQLµÄ²ÎÊýinteractive_timeout£¬Ò²¾ÍÊǽ»»¥³¬Ê±Ê±¼äĬÈÏΪ8Сʱ¡£Ò²¾ÍÊÇÈç¹ûÒ»¸öÁ´½ÓÔÚ8Сʱºó£¬»¹Ã»ÓкͷþÎñÆ÷½»»¥£¬Õâ¸öÁ¬½Ó¾Í»á±»MySQL·þÎñÆ÷¶Ï¿ª¡£ÒòΪMySQLÄÜ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ