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

IIS+PHP+MySQLÅäÖÃ ÄÏÈý·½


      ÔÚÍøÉÏÕÒÁ˺ܶàIIS+PHPµÄÅäÖõķ½·¨£¬ÊÔ¹ýÖ®ºóºÜ¶à¶¼²»ÄܴﵽЧ¹û¡£ÓÚÊÇ×ܽáÁ˴󲿷ֵÄÎÄÕºó¾ÍµÃ³öÁËÕâÑùµÄ·½·¨£º£¨±¾´Î²Ù×÷ϵͳÒÔWin2000ΪÀý£¬Èç¹ûÄãÒª¸ÄΪÆäËüϵͳ¾Í°Ñϵͳ¸ùĿ¼±äһϾÍOkÁË£©
Ò»¡¢ÏÂÔرØÐëµÄ³ÌÐò£º
(1) Ïȵ½PHPµÄ¹Ù·½ÍøÕ¾ÏÂÔØÒ»¸öPHP£¨±¾ÎľÍÒÔPHP 4.4.2ΪÀý£©¡£ÍøÖ·ÈçÏ£ºhttp://cn.php.net/downloads.php£»
(2) È»ºó¾Íµ½ZendµÄ¹Ù·½ÍøÕ¾ÏÂÔØÒ»¸öZend optimizer£¨±¾ÎÄÒÔZend 2.6.2ΪÀý£©¡£ÍøÖ·ÈçÏ£ºhttp://downloads.zend.com/optimizer/£»
(3) ¼ÈȻҪװPHPµ±È»¾Í×°MySQLÀ²£¨±¾´ÎÒÔMySQL 3.23.49ΪÀý£©£¬µ½¹Ù·½ÍøÕ¾ÉÏÈ¥ÏÂÔØÒ»¸ö°É£¬ÍøÖ·ÈçÏ£ºhttp://www.mysql.com£»
(4) ×îºóÒªÏÂÔØÒ»¸öÓÃÀ´·½±ã¹ÜÀíMySQLµÄ¹¤¾ß£¬ÕâÑùÔÚ¹ÜÀíʱ¿ÉÒÔÊ°빦±¶£¬ÏÂÔصØÖ·ÈçÏ£ºhttp://www.dnsing.com/upfiles/phpmyadmin.rar£»
¶þ¡¢ ÕýʽÅäÖÿªÊ¼£º
(1) ÏȽâѹÏÂÔØ»ØÀ´µÄÈ«²¿Ñ¹Ëõ°ü£¬Ê×ÏÈ°ÑPHPµÄѹËõ°ü½âѹµ½CÅ̵ÄC:\php£¬È»ºó°Ñ·Ö±ð°ÑÎļþ¼Ðϵēphp4ts.dll”¸´ÖƵ½“C:\winnt\system32\”Ï£¬°ÑC:\PHP\sapi\Ŀ¼Ïµēphp4isapi.dll”¸´ÖƵ½“C:\winnt\system32\”Ï£¬½ÓמͰÑC:\PHP\dlls\Ŀ¼ÏµÄËùÓÐ*.dllÎļþ¶¼¿½µ½“C:\winnt\system32\”Ŀ¼Ï£¨Èç¹ûÔ­À´ÓеľÍÏȱ¸·Ý¾ÉµÄÎļþºóÔÙ½øÐи´¸Ç²Ù×÷£©£¬×îºó¾Í°ÑC:\phpĿ¼Ïµēphp.ini-dist”¸ÄΪ“php.ini”¸´ÖƵ½C:\winntĿ¼Ï£¬È»ºó¾Í´ò¿ª°ÑÀïÃæµÄ extension_dir = "./" ¸ÄΪ extension_dir = "c:\php\ext" Ð޸ĺ󱣴棻
(2) È»ºó¾Íµ½¿ØÖÆÃæ°æµÄ¹ÜÀí¹¤¾ßÕÒµ½“Internet ·þÎñ¹ÜÀíÆ÷”£¨¼´IIS£©£¬È»ºó¾ÍÒÀ´Î²Ù×÷£¬ÓÒ»÷ĬÈÏÕ¾µã->µã»÷ÊôÐÔ->Ö÷Ŀ¼->ÅäÖÃ->Ó¦ÓóÌÐòÓ³Éä->Ìí¼Ó->È»ºóÔÚ¿ÉÖ´ÐÐÎļþ´¦ÊäÈ룺C:\WINNT\system32\php4isapi.dll ,À©Õ¹ÃûÊäÈë.PHP£¨ÓÐÒ»¸öµã“.”£©->½Óמ;͵ã»÷ISAPI ɸѡÆ÷->Ìí¼Ó->ÔÚɸѡÆ÷Ãû³Æ´¦ÊäÈëphp£¨Õâ¸öûÓÐÒ»µã“.”£©£¬ÔÚ¿ÉÖ´ÐÐÎļþ´¦ÊäÈ룺C:\WINNT\system32\php4isapi.dll °ÑÈ«²¿¶¼ÅäÖÃÍêºó¾ÍÍ˳öIIS£»
(3) È»ºó£¬ÔÚ¿ªÊ¼²Ëµ¥µÄÔËÐУ¬ÊäÈë net stop iisadmin ÏÈÍ£Ö¹IIS£¬Ä¿Â¼ÊÇΪÁËÖØÆôIISʹ¸Õ²ÅµÄÅäÖÃÉúЧ£¬×îºó¾ÍÔÚÔËÐд¦ÊäÈë net start w3svc ÖØÆôIIS·þÎñ£»µ½ÕâÀïΪֹIIS+PHP¾Í»ù±¾ÉÏÅäÖÃÍêÁË£¬ÏÂÃ滹ÓÐ×öµÄ¹¤×÷¾ÍÊÇ°ÑZend×°ÉÏ»¹ÓÐÒ»¸öMySQL·þÎñÆ÷×°ÉÏ£¬²»¹ýÕâЩ¶¼²»ÊÇ


Ïà¹ØÎĵµ£º

MYSQLÊý¾Ý¿âµÄÖÐÎÄÎÊÌâ

      ÖÐÎÄÏÔʾÎÊÌâÒ»Ö±ÊÇÀ§ÈÅÎÒÃǵÄÒ»¸öÄÑÌ⣬²»ÐÅÄãÉÏgoogleËÑË÷һϣ¬ÕâÀàµÄÎÊÌâºÍ½â´ð¿ÉÒÔ˵ÊÇÆÌÌì¸ÇµØ£¬ºÃ¶àÍøÕ¾ÉõÖÁ½«ÆäÌá³öÀ´×÷ΪרÌâÀ´ÌÖÂÛ£¬¹ÜÖпú±ª£¬¿É¼ûÒ»°ß¡£
¿ªÊ¼Ò²ÔøΪÕâ¸öÎÊÌâÍ·ÌÛ£¬ÉÏÍø²éÔÄ´óÁ¿µÄ×ÊÁϺͽâ¾ö·½·¨£¬ÖÕÓÚÕÒµ½ÁËÒ»Öּȼòµ¥ÓÖºÃÓõİ취£¬ÒÔJSP+MYSQL´æ´¢ÎªÀý£¬¼òµ¥½éÉÜÒ ......

phpѧϰ±Ê¼Ç£¨10£©:MYSQLÊý¾Ý¿âÖеij£ÓÃSQLÓï¾ä

MYSQLÊý¾Ý¿âÖеij£ÓÃSQLÓï¾ä
1¡¢SELECT ²éѯÓï¾äºÍÌõ¼þÓï¾ä
SELECT  ²éѯ×ֶΠfrom ±íÃû WHERE Ìõ¼þ 
²éѯ×ֶΣº¿ÉÒÔʹÓÃͨÅä·û* ¡¢×Ö¶ÎÃû¡¢×ֶαðÃû
±íÃû£º Êý¾Ý¿â.±íÃû £¬±íÃû
³£ÓÃÌõ¼þ£º = µÈÓÚ ¡¢<>²»µÈÓÚ¡¢in °üº¬ ¡¢&nb ......

Ä£°åÒýÇæ 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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ