XPÏÂIISÅäÖÃPHP ºÍMySQL
µÚÒ»²½£º ÏÂÔغͰ²×°PHP
php°æ±¾: php-5.2.10-Win32.zip
1.½âѹphpÎļþµ½ c:\php
2.½«phpÎļþ¼ÐÏ php.ini-dist ¸ÄÃûΪ php.ini ,È»ºóÕÒµ½extension_dir = "./" ¸ÄΪ extension_dir = "c:\php\ext" (´ó¸ÅÔÚ461ÐÐ)
3.È¥µô;extension=php_mysql.dll Ç°µÄ";"×¢ÊÍ·ûºÅ (´ó¸ÅÔÚ589ÐÐ)(Èç¹ûûÓеĻ°¿ÉÒÔ¼ÓÉÏÕâÃû»°.)
4.¸´ÖÆphp.iniµ½C:\WINDOWS
ÔÙ¸´ÖÆphp5ts.dllºÍlibmysql.dllµ½WINDOWS\system32\ÖÐ
µÚ¶þ²½£º ÅäÖÃIIS
1.ÅäÖÃISAPIɸѡ
1)¿ªÊ¼--¿ØÖÆÃæ°å--¹ÜÀí¹¤¾ß----£¨Ë«»÷£©Internet ÐÅÏ¢·þÎñ--Ò»´ÎÑ¡ÔñĬÈÏÍøÕ¾
2£© ÓÒ¼üĬÈÏÍøÕ¾ÊôÐÔ---½«¿´µ½Ä¬ÈÏÊôÐÔ¶Ô»°¿ò---Ñ¡ÔñISAPIɸѡÆ÷---Ìí¼ÓÒ»¸öеÄɸѡÆ÷--- Ãû³ÆΪphp
---¿ÉÖ´ÐÐÎļþΪ£¨C:\php\php5isapi.dll£©(ÕâÀïΪPHPÎļþ·¾¶)----È·¶¨
3£©½øÈëÖ÷Ŀ¼----Ñ¡ÔñÅäÖõ¯³ö¶Ô»°¿ò--- Ñ¡ÔñÌí¼Ó¶Ô»°¿ò----- À©Õ¹ÃûΪ.php---¿ÉÖ´ÐÐÎļþ·¾¶ÎªC:\php\php5isapi.dll---È·¶¨
4£©½øÈëÎĵµ---Ñ¡ÔñÌí¼Ó¶Ô»°¿ò---ĬÈÏÎĵµÃûΪindex.php²¢ÇÒÉèΪ×î¸ß£¨ÉÏÒƵ½¶¥²¿£©---È·¶¨¾Í¿ÉÒÔÁË¡£
5£©ÖØÆôIIS£¬
ÖØÆô·½·¨£º
ÔÚÔËÐÐÀïÃæÒÀ´ÎÊäÈë
net stop w3svc
net stop iisadmin
net start w3svc
ÏÖÔÚĬÈÏÕ¾µã¿ÉÒÔÖ§³ÖPHPÁË£¬ÏòÆäÖÐÌí¼ÓÒ»¸öÄÚÈÝΪ<% echo phpinfo() >µÄtest.phpÎļþ£¬ÔÚIIS¹ÜÀíÆ÷ÖÐÓÒ¼ü²¢µãä¯ÀÀ£¬ Èç ¹û¿ÉÒÔ¿´µ½ÈçϵÄÄÚÈÝ£¬ËµÃ÷PHPÒÑÅäÖóɹ¦¡£
Ïà¹ØÎĵµ£º
PhpµÄ½Å±¾¿éÓйصķûºÅ£º
1,XML·ç¸ñ£ºÅ£È˼«¶ÈÍƼöµÄÓ÷¨<?php …?>¡£
2,¼ò¶Ì·ç¸ñ:<?...?>×î¼òµ¥£¬×ñÑSGML(±ê׼ͨÓñê¼ÇÓïÑÔ)´¦Àí˵Ã÷µÄ·ç¸ñ¡£ÒªÏëÓÃËü£¬Ò»¶¨Òª¿ªÆôshort_open_tagÑ¡Ï»òÕßÆôÓö̱ê¼ÇµÄÑ¡Ïî±àÒëphp¡£(³õѧÕß¿´ÕÅÀÏʦÊÓƵʱ£¬¾ÍÈÝÒ×·¸Ã»ÓпªÆô¶Ì±ê¼ÇµÄ´íÎó¡£¹úÍâÅ£È˲»ÍƼö£¬µ«ÏÖÔÚ¹ú ......
Ò»¡¢Ê²Ã´ÊÇPHP£¿PHPµÄ¸ÅÄîºÍ¼ò½é
¡¡¡¡PHPÊÇÒ»ÖÖÒ×ÓÚѧϰºÍʹÓõķþÎñÆ÷
¶Ë½Å±¾ÓïÑÔ¡£Ö»ÐèÒªºÜÉٵıà³Ì֪ʶÄã¾ÍÄÜʹÓÃPHP½¨Á¢Ò»¸öÕæÕý½»»¥µÄWEBÕ¾µã¡£±¾½Ì³Ì
²¢²»ÏëÈÃÄãÍêÈ«Á˽âÕâÖÖÓïÑÔ£¬Ö»ÊÇÄÜʹÄ㾡¿ì¼ÓÈ뿪·¢¶¯Ì¬webÕ¾µãµÄÐÐÁС£ÎÒ¼Ù¶¨ÄãÓÐһЩHTML£¨»òÕßHTML±à¼Æ÷£©µÄ»ù±¾ÖªÊ¶ºÍһЩ±à³Ì˼Ïë¡£
¡¡¡¡1.¼ò½é
¡¡¡¡PH ......
LAMPÕâ¸ö´ÊµÄÓÉÀ´×îÔçʼÓڵ¹úÔÓÖ¾“c't Magazine”£¬Michael KunzeÔÚ1990Äê×îÏÈ°ÑÕâЩÏîÄ¿×éºÏÔÚÒ»Æð´´ÔìÁËLAMPµÄËõд×Ö¡£ÕâЩ×é¼þËäÈ»²¢²»ÊÇ¿ª¿ªÊ¼¾ÍÉè¼ÆΪһÆðʹÓõģ¬µ«ÊÇ£¬ÕâЩ¿ªÔ´Èí¼þ¶¼¿ÉÒԺܷ½±ãµÄËæʱ»ñµÃ²¢Ãâ·Ñ»ñµÃ¡£Õâ¾Íµ¼ÖÂÁËÕâЩ×é¼þ¾³£ÔÚÒ»ÆðʹÓá£ÔÚ¹ýÈ¥µÄ¼¸ÄêÀÕâЩ×é¼þµÄ¼æÈÝÐÔ²»¶ÏÍêÉÆ£¬Ô ......
½ñÌì·ÏÁËÒ»ÌìµÄʱ¼äÀ´´Óаѻ·¾³´î½¨ºÃ£º×ö¸ö±Ê¼Ç
°²×°Ë³Ðò£º
apache->php->mysql
һЩעÒâµÄµØ·½¼ÇÏÂÀ´°É£º
1. apache Ö§³Ö php
apache ÅäÖÃÎļþÏ£ºÐèÒªÐ޸ĵĵط½£º
i. PHPIniDir "F:/programs/php/"
&n ......