ÅäÖà WINDOWS 2003 IIS 6.0 µÄ PHP»·¾³
¶àÅóÓѶ¼Ìáµ½¹ý WINDOWS 2003 + IIS 6.0 °´ÕÕÍøÉÏÌṩµÄ·½·¨ ÎÞÂÛÔõôÅäÖö¼²»³É¹¦ ËÑË÷ÁËһϠ¿´µ½µ½´¦¶¼ÊÇͬһ¸ö°æ±¾µÄ·°æ×ªÔØ ¹ûÈ»ÊDz»Äܳɹ¦
ÏÖÔÚÐðÊöһϱ¾Õ¾ÔÚWINDOWS 2003 IIS 6.0 ÖÐÊÇÈçºÎÅäÖà PHP»·¾³µÄ
Èà IIS6.0 Ö§³Ö PHP -=> php4.3.9 µÄ°²×°ÅäÖÃ
²»½¨ÒéʹÓð²×°°æ ÕâÀïÑ¡ÓÃÁË php4.3.9 µÄ½âѹ°æ
µÚÒ»²½ ½â¿ªphp-4.3.9-Win32.zipѹËõ°ü Äã¿ÉÒÔ°ÑËü·ÅÔÚC:\PHPÏÂÃæ
µÚ¶þ²½ °Ñ C:\PHPÏÂÃæµÄ php.ini-dist Îļþ¸´ÖƵ½C:\WINDOWSĿ¼Ï ²¢¸ÄÃû³Éphp.ini ¸ù¾Ý²»Í¬Çé¿öÄã¿ÉÒÔ×ÔÐÐÐÞ¸ÄijЩ²ÎÊý Ê×ÏÈ ÎÒÃÇÐèÒª¸æÖªPHPÔںδ¦¿ÉÒÔÕÒµ½ÆäÀ©Õ¹¹¦ÄÜÄ£¿éÎļþ ÏÂÃæÐÞ¸Ä C:\windows\php.ini Îļþ ÐèҪעÒâµÄÈçÏÂ
²éÕÒ extension_dir ×Ö´® ÐÞ¸ÄΪÄã PHP Ŀ¼Àï extensions µÄ·¾¶:
; Directory in which the loadable extensions (modules) reside
extension_dir = "C:\PHP"
ÈçÉÏ ÉèΪPHPÎļþµÄËùÔÚĿ¼¼´¿É ±¾ÀýÖпÉÒÔÉèΪ“extension_dir=C:\php”
µÚÈý²½ °Ñ C:\php\php4ts.dll ¸´ÖƵ½ C:\windows\system32Ŀ¼ÏÂ
µÚËIJ½ ¿ØÖÆÃæ°æ——¡·¹ÜÀí¹¤¾ß——¡·Internet·þÎñ¹ÜÀíÆ÷——¡·µãÑ¡“Web ·þÎñÀ©Õ¹”——¡·ÔÚÓұߴ°¿Úµã»÷“Ìí¼ÓÒ»¸öÐ嵀 Web ·þÎñÀ©Õ¹”——¡·À©Õ¹ÃûΪ “PHP”——¡·ÔÙµã»÷“Ìí¼Ó”——¡·ÔÚ³öÏֵĴ°¿ÚÀïÌîÉÏ“C:\PHP\sapi\php4isapi.dll” ²¢È·¶¨ È»ºóÔÙµãÑ¡ Web ·þÎñÀ©Õ¹ PHP ²¢Ñ¡ÔñÔÊÐí ÈçͼËùʾ(¸½¼þ:IIS3-IIS6)
µÚÎå²½ ÔړĬÈÏÍøÕ¾ÊôÐÔ”´°¿ÚÉϰ´ “Ö÷Ŀ¼”±êÇ© µã“ÅäÖÔ°´Å¥ ÔÚµ¯³öµÄ“ӳл”´°¿ÚÖеãÈ¡“Ìí¼Ó”°´Å¥£¬ÔÚµ¯³öµÄ“Ìí¼Ó/±à¼Ó¦ÓóÌÐòÀ©Õ¹ÃûÓ³Ïñ”¶Ô»°¿òÖеē¿ÉÖ´ÐÐÎļþ”Îı¾¿òÖÐÊäÈë“c:\PHP\sapi\php4isapi.dll” “À©Õ¹Ãû”Îı¾¿òÖÐÊäÈë“.php”£¨×¢ÒâÒ»¶¨ÒªÓÐÄǸöµã£© ²¢¹´Ñ¡ "¼ì²éÎļþÊÇ·ñ´æÔÚ"Ïî ÈçͼËùʾ(¸½¼þ:IIS7-IIS9)
µÚÁù²½ ÔړĬÈÏWebÕ¾µãÊôÐÔ”´°¿ÚÉϵãÈ¡“ISAPIɸѡÆ÷”±êÇ©£¬µã»÷“Ìí¼Ó”°´Å¥£¬ÔÚµ¯³öµÄ“ɸѡÆ÷ÊôÐÔ”´°¿ÚµÄ“ɸѡÆ÷Ãû³Æ”ÖÐÊäÈë“PHP” “¿ÉÖ´ÐÐÎļþ”ÖÐä¯ÀÀÑ¡¶¨“c:\PHP\sapi\php4isapi.dll” È»ºóÈ·¶¨ ÈçͼË
Ïà¹ØÎĵµ£º
[part1] http://download.csdn.net/source/2076258
[part2] http://download.csdn.net/source/2076272
[part3] http://download.csdn.net/source/2076276
[part4] http://download.csdn.net/source/2076283
[part02-04] http://www.ytgps.com/Images/nginx.rar
±¾ÎļþÌå»ý¹ý´ó·Ö4¸ö°ü£¬php-cgi+mysql+nginx.7z ......
PHP ÐòÁл¯£¨serialize£©¸ñʽÏê½â
ǰÑÔ
¸ÅÊö
NULL ºÍ±êÁ¿ÀàÐ͵ÄÐòÁл¯
¼òµ¥¸´ºÏÀàÐ͵ÄÐòÁл¯
ǶÌ׸´ºÏÀàÐ͵ÄÐòÁл¯
×Ô¶¨Òå¶ÔÏóÐòÁл¯
Unicode ×Ö·û´®µÄÐòÁл¯
²Î¿¼ÎÄÏ×
1£®Ç°ÑÔ
PHP £¨´Ó PHP 3.05 ¿ªÊ¼£©Îª±£´æ¶ÔÏóÌṩÁËÒ»×éÐòÁл¯ºÍ·´ÐòÁл¯µÄº¯Êý£ºserialize¡¢unserialize¡£²»¹ýÔÚ
PHP ÊÖ²áÖжÔÕâÁ½¸öº¯ÊýµÄ ......
40ÌõÓÅ»¯php´úÂëµÄСʵÀý
1.Èç¹ûÒ»¸ö·½·¨Äܱ»¾²Ì¬£¬ÄǾÍÉùÃ÷ËûΪ¾²Ì¬µÄ£¬ËÙ¶È¿ÉÌá¸ß1/4;
2.echoµÄЧÂʸßÓÚprint,ÒòΪechoûÓзµ»ØÖµ£¬print·µ»ØÒ»¸öÕûÐÍ;
3.ÔÚÑ»·Ö®Ç°ÉèÖÃÑ»·µÄ×î´ó´ÎÊý£¬¶ø·ÇÔÚÔÚÑ»·ÖÐ;
4.Ïú»Ù±äÁ¿È¥ÊÍ·ÅÄÚ´æ£¬ÌØ±ðÊÇ´óµÄÊý×é;
5.±ÜÃâʹÓÃÏñ__get, __set, __autoloadµÈħÊõ·½·¨;
6.requiere_once( ......
PHPÖÐÉè¼ÆÄ£Ê½µÄѧϰ±Ê¼Ç
Éè¼ÆÄ£Ê½(Design Pattern)ÊÇÃæÏò¶ÔÏóÉè¼ÆÖз´¸´³öÏÖµÄÎÊÌâµÄ½â¾ö·½°¸£¬Éè¼ÆÄ£Ê½ÊÇÒ»ÖÖ±ÈÒ»°ãÀàµÄÉè¼Æ¸ü¼Ó³éÏóµÄÒ»ÖÖ˼Ï룬
ËüÍùÍùÉæ¼°µ½¶à¸öÀàµÄ¶¨ÒåºÍʹÓá£
ÔÚPHPµÄ¿ª·¢¹ý³ÌÖУ¬¾³£Ê¹Óõ½µÃÉè¼ÆÄ£Ê½°üÀ¨£º¼òµ¥¹¤³§Ä£Ê½¡¢µ¥ÔªËØÄ£Ê½¡¢¹Û²ìÕßģʽ¡¢ÃüÁîģʽ¡¢²ßÂÔģʽÒÔ¼°MVCģʽµÈ¡£
/ ......
function delete_array_element($arr,$i) {
$len = count($arr);
for($j=$i; $j<$len; $j++) {
$arr[$j] = $arr[$j+1];
}
array_pop($arr);//½«Êý×éµÄ×îºóÒ»¸öµ¥Ôªµ¯³ö
return $arr;
}
for($i=0; $i<10; $i++) {
$arr1[$i] = $i+1;
}
print_r($arr1);
echo "< ......