¡¾×ª¡¿ÔÚWindowsÉÏÅäÖò¢ÕûºÏPHPºÍMySQL¾µä½Ì³Ì
ÔÚΪÓû§Ìṩ¶¯Ì¬ÄÚÈÝ·½Ã棬PHPºÍMySQLÊÇÒ»¸öÇ¿´óµÄ×éºÏ¡£ÕâЩÄêÀ´£¬ÕâÁ½Ïî²úÆ·ÒѾ¿çÔ½ÁËËüÃÇ×î³õµÄÓ¦ÓÃÎę̀£¬ÏÖÔÚ£¬Ò»Ð©ÊÀ½çÉÏ×æµÄÍøÕ¾Ò²ÔÚÓ¦ÓÃËüÃÇ¡£ËäÈ»ËüÃǵ±³õ¶¼ÊÇ¿ªÔ´Èí¼þ£¬Ö»ÄÜÔÚUNIX/LinuxÉÏÔËÐУ¬µ«¾¹ýÏ൱һ¶ÎʱÆڵķ¢Õ¹£¬ËüÃÇÒÑÄÜÔÚWindowsƽ̨ÉÏÔËÐС£
ÔÚ±¾ÎÄÖУ¬ÎÒ½«Öð²½ÎªÄãÃÇ˵Ã÷ÈçºÎÔÚWindows»·¾³Öа²×°²¢ÅäÖÃÕâЩ²úÆ·¡£¶ÔÄãÃÇÖеÄһЩÈËÀ´Ëµ£¬±¾ÎÄÌṩµÄÐÅÏ¢¿ÉÄܹýÓÚ¼òµ¥£¬µ«±¾ÎÄÖ¼ÔÚÍê³ÉÎÄÕ±êÌâËùÌá³öµÄÄ¿±ê£¬ÌṩÖð²½µÄÖ¸µ¼¡£
Õâ¸öÌØÊâµÄÈí¼þ×éºÏÒ»°ã±»³Æ×÷WIMP£¨Windows/IIS/MySQL/PHP£©£¬·ÂЧLinuxÁìÓòÄÚµÄLAMP£¨Linux/Apache/MySQL/PHP£©¡£
ÎÒµÄʵÑéÊÒϵͳÔËÐÐ64λWindows Server 2003ÆóÒµ°æ¡£
µÚÒ»²½£ºÔÚWindows Server 2003 R2ϵͳÉÏ°²×°Application Server½ÇÉ«
Ϊ˵Ã÷Õâ¸öÀý×Ó£¬ÎÒ½«ÓÃIIS×÷ΪÍøÂç·þÎñÆ÷¡£ÄãÒ²¿ÉÒÔÑ¡Ôñ²»ÐèÒªIISµÄPHP¡¢MySQLºÍApache×éºÏ£¬µ«ÔÚ´ËÀýÖÐÎÒ²»»áʹÓÃËüÃÇ¡£
ÒªÔÚϵͳÉÏ°²×°Application Server½ÇÉ«£¬µã»÷“¿ªÊ¼²Ëµ¥”£¬Ñ¡Ôñ“¹ÜÀí·þÎñÆ÷”¡£ÔÚ¹ÜÀí·þÎñÆ÷Ö÷´°¿ÚÖУ¬µã»÷“Ìí¼Ó»òɾ³ýÒ»¸ö½ÇÉ«”Ñ¡Ïî¡££¨Í¼A£©
ͼA
°ÑApplication Server½ÇÉ«°²×°µ½·þÎñÆ÷ÉÏ£¬Ê¹Ëü¿ÉÒÔ×öÍøÕ¾µÄÖ÷»ú
Windows½«ÔÚ·þÎñÆ÷ÉÏËÑË÷ÏÖÓеĽÇÉ«£¬Ìṩһ¸ö½ÇÉ«µÄÍêÕûÁбíÒÔ½øÐа²×°¡££¨Í¼B£©
ͼB
Application Server½ÇÉ«°üÀ¨IISºÍASP.net
ÔÚ·þÎñÆ÷½ÇÉ«µÄ°²×°¹ý³ÌÖУ¬ÏµÍ³¿ÉÄÜÒªÇóÄã²åÈëWindows Server¹âÅÌ¡£ËùÐèµÄÎļþÔÚ¹âÅÌ1ÖС£
°²×°Íê³Éºó£¬ÏµÍ³»á¸üйÜÀí·þÎñÆ÷´°¿Ú£¬ÒÔ·´Ó³ËùÌí¼ÓµÄнÇÉ«¡£
µÚ¶þ²½£ºÏÂÔØPHPºÍMySQL
Õâʱ£¬·þÎñÆ÷ÒÑ×÷ºÃÖ§³ÖÍøÒ³µÄ×¼±¸¡£µ«ÓÉÓÚ»¹Ã»Óа²×°PHP»òMySQL£¬ÍøÒ³»¹ÊǾ²Ì¬µÄ¡£ÔÚ°²×°PHPºÍMySQL֮ǰ£¬±ØÐë´ÓËüÃǸ÷×ÔµÄÍøÕ¾ÏÂÔØÆäWindows°æ±¾¡£
MySQL
Ê×ÏÈ˵Ã÷MySQLµÄ°²×°¡£µ½±¾ÎÄ·¢±íʱֹ£¬MySQL 5.1»¹´¦ÓÚ²âÊԽ׶Σ¬5.0°æ±¾ÒÑÔÚÆÕ±éÓ¦Ó᣼´Ê¹ÎÒÒªÔÚ64λµÄWindowsÉÏ°²×°MySQL£¬ÎÒ»¹ÊÇÒªÏÂÔØËüµÄ32λ°æ±¾¡£±Ï¾¹£¬PHPÒ²Òª°²×°ÔÚͬһ̨·þÎñÆ÷ÉÏ£¬¶øËüÔÚ64λµÄÓ²¼þÉÏ»¹²»´óͨÓã¬ÕâÒâζ×Å»¹±ØÐëʹÓÃ32λµÄIIS£¬ËùÒÔûÓа취ÍêȫʵÏÖ64λ¡£MySQL¹²ÓÐÈý¸ö°æ±¾£º¾«»ª°æ¡¢ÍêÕû°æ»ò²»ÐèÒª°²×°°æ±¾¡£
¾«»ª°æ£º¾«»ª°æÊÇÒ»¸öÖ¼ÔÚÂú×ã¶àÊýÓû§ÐèÇóµÄMSI°²×°Îļþ¡£
ÍêÕû°æ£ºÈçÄãËùÆÚ´ýµÄ£¬ÍêÕû°æ±È¾«»ª°æ°üº¬¸ü¶à×é¼þ£¬°üÀ¨Ò»Ì×ÆÀ²â¹¤¾ß¡£
²»Ðè°²×°°æ£ºÕâ¸ö°æ±¾ÓëÍêÕû°æÒ»Ñù£¬µ«²»°üº¬ÅäÖÃÏòµ¼»ò°²×°Æ÷£¬±ØÐëÊÖ¹¤½øÐа²×°¡£
ÔÚ±¾ÎÄÖУ¬°²×°¾«»ª°æ¼´¿É¡
Ïà¹ØÎĵµ£º
ÔÚ MySQLÏ£¬ÔÚ½øÐÐÖÐÎÄÄ£ºý¼ìË÷ʱ£¬¾³£»á·µ»ØһЩÓëÖ®²»Ïà¹ØµÄ¼Ç¼£¬Èç²éÕÒ "%a%" ʱ£¬·µ»ØµÄ¿ÉÄÜÓÐÖÐÎÄ×Ö·û£¬È´Ã»ÓÐa×Ö·û´æÔÚ¡£±¾ÈËÒÔÇ°Ò²ÔøÓöµ½¹ýÀàËÆÎÊÌ⣬¾ÏêϸÔĶÁMySQLµÄManual£¬·¢ÏÖ¿ÉÒÔÓÐÒ»ÖÖ·½·¨ºÜ·½±ãµÄ½â¾ö²¢µÃµ½ÂúÒâµÄ½á¹û¡£
¡¡¡¡Àý×Ó£º
¡¡¡¡Ï£Íûͨ¹ý“±êÌ┶ÔÐÂÎÅ¿â½øÐмìË÷£¬¹Ø¼ü×Ö¿ÉÄÜ°üº¬Ê ......
1¡¢Íâ¼üµÄÒýÓÃÀàÐͲ»Ò»Ñù£¬Ö÷¼üÊÇintÍâ¼üÊÇchar
2¡¢ÕÒ²»µ½Ö÷±íÖÐ ÒýÓõÄÁÐ
3¡¢Ö÷¼üºÍÍâ¼üµÄ×Ö·û±àÂë²»Ò»ÖÂ
4.»¹ÓÐÒª½¨Á¢Íâ¼üµÄ»°£¬ÒªÏȽ¨Á¢Ë÷Òý¡£Ã»Óн¨Á¢Ë÷ÒýÒ²»á³ö´í¡£
ÎÒµÄÎÊÌâ½â¾ö·½°¸ÊÇÔÚsqlºóÃæ¼ÓÉÏÁËÈçϾ仰,ok!³É¹¦µ¼Èë½Å±¾
ENGINE=MyISAM DEFAULT CHARSET=utf8;
charset¶ÔÓ¦µÄ»»³ÉÄãµÄÖ÷¼ü±íµÄ×Ö·û¼¯ ......
Ò»¡¢ÔÚ±àÒëʱÓÅ»¯MySQL
Èç¹ûÄã´ÓÔ´´úÂë·Ö·¢°²×°MySQL£¬Òª×¢Ò⣬±àÒë¹ý³Ì¶ÔÒÔºóµÄÄ¿±ê³ÌÐòÐÔÄÜÓÐÖØÒªµÄÓ°Ï죬²»Í¬µÄ±àÒ뷽ʽ¿ÉÄܵõ½ÀàËƵÄÄ¿±êÎļþ£¬µ«ÐÔÄÜ¿ÉÄÜÏà²îºÜ´ó£¬Òò´Ë£¬ÔÚ±àÒë°²×°MySQLÊÊÓ¦×Ðϸ¸ù¾ÝÄãµÄÓ¦ÓÃÀàÐÍÑ¡Ôñ×î¿ÉÄܺõıàÒëÑ¡Ïî¡£ÕâÖÖ¶¨ÖƵÄMySQL¿ÉÒÔΪÄãµÄÓ¦ÓÃÌṩ×î¼ÑÐÔÄÜ¡£
¼¼ÇÉ£ºÑ¡ÓýϺõıà ......
ͨ¹ýMySQLÄÚÖÃÈ«ÎļìË÷ʵÏÖÖÐÎĵÄÏà¹Ø¼ìË÷
¹Ø¼ü×Ö£ºMySQL È«ÎļìË÷ È«ÎÄË÷Òý ÖÐÎÄ·Ö´Ê ¶þÔª·Ö´Ê ÇøλÂë ÏàËƶÈ
×¢£º±¾ÎÄʹÓõÄMySQL°æ±¾Îª£ºMySQL 4.0.x
ÔÚMySQL4ÖУ¬ÊÇÒѾ¿ªÊ¼Ö§³ÖÈ«ÎļìË÷£¨Ë÷Òý£©µÄÁË¡£µ«ÊÇÖ»ÊǶÔÓ¢ÎÄÖ§³ÖÈ«ÎļìË÷¡£
ÓÉÓÚÓ¢ÎÄÔÚÊéдÉϵÄÌØÊâÐÔ£¬Ê¹µÃ·Ö´ÊËã·¨Ïà¶ÔÖÐÎÄÀ´Ëµ£¬¼òµ¥µÃ¶à¡£Ò»°ãÀ´Ëµ£¬ÎÒÃÇ ......