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

¡¾×ª¡¿ÔÚ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°²×°Îļþ¡£
ÍêÕû°æ£ºÈçÄãËùÆÚ´ýµÄ£¬ÍêÕû°æ±È¾«»ª°æ°üº¬¸ü¶à×é¼þ£¬°üÀ¨Ò»Ì×ÆÀ²â¹¤¾ß¡£
²»Ðè°²×°°æ£ºÕâ¸ö°æ±¾ÓëÍêÕû°æÒ»Ñù£¬µ«²»°üº¬ÅäÖÃÏòµ¼»ò°²×°Æ÷£¬±ØÐëÊÖ¹¤½øÐа²×°¡£
ÔÚ±¾ÎÄÖУ¬°²×°¾«»ª°æ¼´¿É¡


Ïà¹ØÎĵµ£º

ÈçºÎÌá¸ßPHPЧÂÊÓÅ»¯¡¾Ò»Ð©phpÄÚÖú¯ÊýµÄÃîÓá¿


[תÌù] Õ¥¸É PHP,²»µÃ²»×ªµÄһƪPHPʹÓü¼ÇÉ!
ÕâƪÔÓÎÄ·­ÒëÕûÀí×ÔÍøÂç¸÷·Îĵµ×ÊÁÏ(¼û×îÄ©µÄ²Î¿¼×ÊÁÏ)£¬ÓÈÆäÊÇ Ilia Alshanetsky (Åå·þÖ®ÖÁ) ÔÚ¶à¸ö PHP »áÒéÉϵÄÑݽ²£¬Ö÷ÒªÊǸ÷ÀàÌá¸ß PHP ÐÔÄܵļ¼ÇÉ¡£ÎªÇó¾«×¼£¬ºÜ¶à²¿·Ö¶¼ÓÐÏêϸµÄЧÂÊÊý¾Ý£¬ÒÔ¼°¶ÔÓ¦µÄ°æ±¾µÈµÈ¡£ÍµÀÁ£¬Êý¾Ý¾Í²»Ò»Ò»¸ø³öÁË£¬Ö±½Ó¸ø½áÂÛ£¬Èç¹ûÐèÒª¿´Ô­Î ......

mysql ÖРʱ¼äºÍÈÕÆÚº¯Êý

Ò»¡¢MySQL »ñµÃµ±Ç°ÈÕÆÚʱ¼ä º¯Êý
select now();
+---------------------+
| now()               |
+---------------------+
| 2008-08-08 22:20:46 |
+---------------------+
³ýÁË now() º¯ÊýÄÜ»ñµÃµ±Ç°µÄÈÕÆÚʱ¼äÍ⣬MySQL Öл¹ÓÐÏÂÃæµÄ ......

mysql can't create table errno 150

1¡¢Íâ¼üµÄÒýÓÃÀàÐͲ»Ò»Ñù£¬Ö÷¼üÊÇintÍâ¼üÊÇchar
2¡¢ÕÒ²»µ½Ö÷±íÖÐ ÒýÓõÄÁÐ
3¡¢Ö÷¼üºÍÍâ¼üµÄ×Ö·û±àÂë²»Ò»ÖÂ
4.»¹ÓÐÒª½¨Á¢Íâ¼üµÄ»°£¬ÒªÏȽ¨Á¢Ë÷Òý¡£Ã»Óн¨Á¢Ë÷ÒýÒ²»á³ö´í¡£
ÎÒµÄÎÊÌâ½â¾ö·½°¸ÊÇÔÚsqlºóÃæ¼ÓÉÏÁËÈçϾ仰,ok!³É¹¦µ¼Èë½Å±¾
ENGINE=MyISAM DEFAULT CHARSET=utf8;
charset¶ÔÓ¦µÄ»»³ÉÄãµÄÖ÷¼ü±íµÄ×Ö·û¼¯ ......

mysqlÖÐÓÃÃüÁîÐ޸ıí½á¹¹µÄ·½·¨

ALTER [IGNORE] TABLE tbl_name alter_spec [, alter_spec …]
alter_specification:
       ADD [COLUMN] create_definition [FIRST | AFTER column_name ]
   or ADD INDEX [index_name] (index_col_name,…)
   or ADD PRIMARY KEY (index_col_name,&hell ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ