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

iis+php5+mysqlÅäÖÃ

ÔËÐл·¾³£ºwindows xp sp2
          IIS v5.1
          PHP 5.3.1-Win32-VC9-x86
          Mysql 5.0
°²×°²½Ö裺
       °²×°IIS5.1
ÔÚÒÑÓÐxpϵͳÏ°²×°IIS 5.1
=¡·¿ªÊ¼²Ëµ¥=¡·ÉèÖÃ=¡·¿ØÖÆÃæ°æ=¡·É¾³ýÌí¼Ó³ÌÐò=¡·µ¥»÷“Ìí¼Ó/ɾ³ýwindows×é¼þ”
=¡·Ñ¡ÔñInternetÐÅÏ¢·þÎñ£¨IIS£©=¡·µ¥»÷“ÏÂÒ»²½”
 
ÔÚ°²×°¹ý³ÌÖлáÓмÓÔØÊý¾Ý°üµÄÌáʾ£¬ÕâʱֻÐèÒª½«Èí¼þ°üÖеÄIIS5.1.rar°ü½âѹºó£¬°Ñ°²×°Ä¿Â¼Ö¸¶¨µ½¸Ã°üµÄ½âѹĿ¼£¬¾Í¿ÉÒÔÌí¼ÓÏàÓ¦µÄ°²×°°üÁË¡£
 
°²×°Íê³É´ò¿ª“¿ØÖÆÃæ°æ”=¡·“¹ÜÀí¹¤¾ß”¾Í¿ÉÒÔ¿´µ½°²×°ºÃµÄIIS·þÎñÆ÷¡£
 
°²×°PHP5.3.1
½âѹÈí¼þ°üÖеÄphp-5.3.1-Win32-VC9-x86.zip³ÌÐò°ü£¬µ½ÒÔcÅÌ£¨ËæÒ⣩¸ùĿ¼Ï£¬°ÑÈí¼þ°ü¸ÄÃûΪPHP5£¨±ØÐë×ö£¬²»È»ÔËÐÐʱ³ÌÐòÕÒ²»µ½£©
 
 
½«Ä¿Â¼ÖеÄphp.ini-developmentÎļþ¸üÃûΪphp.ini²¢½«Æ临ÖƵ½cÅÌwindowsĿ¼ÖÐ
 
¶ÔcÅÌwindowsĿ¼ÏµÄphp.iniÎļþ½øÐÐÐ޸ģ¬Ö÷ÒªÊǶÔʱ¼äÇøÐ޸ģ¬³ÌÐòĿ¼Ð޸ģ¬ÒÔ¼°³ÌÐò¿âµ÷ÓÃĿ¼¡£ÐÞ¸ÄÄÚÈÝÈçÏ¡£
 
 
date.timezone=Asia/Shanghai 
    ½«extĿ¼ÏµÄËùÓж¯Ì¬Á´½Ó¿½±´µ½php5Ŀ¼ÏÂ,Èô²»ÄÜÕý³£Æô¶¯Ê±Ð轫extĿ¼ÖеÄËùÓж¯Ì¬Á´½Ó¿â¿½±´µ½windows/system32Ŀ¼Ï¡£
×¢Ò⣺ÈôË«»÷php.exeÎÞ·¨Õý³£Æô¶¯Ö´ÐÐÎļþʱ£¬ÐèÒªÔÚwindowsÏ°²×°VC¹¦Äܿ⣬¸Ã¿âµÄ°²×°ÎļþÔÚÈí¼þ°üÖУ¨vc_x86Runtime.exe£©¡£
 
 
 
 
 
 
 
 
 
 
 
ÅäÖÃIISÖ§³Öphp
 IISÖ§³ÖPhp5.3ÒÔÉÏ°æ±¾ÐèҪͨ¹ýFastCGI£¬ËùÒÔÐèÒªÏÈ°²×°ÍêIISºó£¬Ôö¼ÓFastCGI¹¦ÄÜ£¬¸Ã¹¦ÄÜÖ§³Ö°üÒ²·ÅÔÚÈí¼þ°üÖУº
 
 
Ö±½ÓÔËÐÐfcgisetup32.msi³ÌÐò£¬»á×Ô¶¯°²×°FastCGIµ½windows/system32/C:\WINDOWS\system32\inetsrvĿ¼Ï£¬ÔÚÅäÖÃIISʱ¾ÍÐèÒªÔËÓõ½fcgiext.dllÕâ¸ö¶¯Ì¬¿â¡£
 
 
 
 
 
 
 
 
 
ÐèÒªÏȶÔfcgiext.ini½øÐÐÈçÏÂÅäÖãº
 
IISÅäÖãº
=¡·¿ØÖÆÃæ°æ=¡·¹ÜÀí¹¤¾ß=¡·Internet ÐÅÏ¢·þÎñ
 
 
 
 
 
 
 
 
&n


Ïà¹ØÎĵµ£º

mysql×Ö·û¼¯ÎÊÌâ


À´Ô´: ChinaUnix²©¿Í ¡¡ÈÕÆÚ£º 2008.04.28 12:29¡¡(¹²ÓÐ0ÌõÆÀÂÛ) ÎÒÒªÆÀÂÛ
 
ÊÇÓÃmysqlµÄʱºò£¬×Ö·û±àÂëÊǸö´óÎÊÌ⣬ÎÒһֱʹÓÃutf8µÄ±àÂ룬»ù±¾ÉÏûʲô´óÎÊÌ⣬¾ÍÊÇÿ´ÎÆô¶¯mysqlµÄʱºò¶¼ÐèÒªÉèÖÃһϣ¬mysql£¬Ê±¼ä³¤ÁË£¬Ò²¹ÖÂé·³µÄ£¬ÔÚÍøÉÏËÑÁËһϣ¬·¢ÏÖÏÂÃæµÄ·½·¨ÄÜÍêÈ«½â¾öÕâ¸öÎÊÌ⣬µ±È»Èç¹ûÊÇ×Ô¼º±àÒëµÄmy ......

2010.01.14 (mysql: data too long for column)

netbeans6.7ÖÐÏòmysql5ÖвåÈëÖÐÎÄÊý¾ÝʱÏÔʾ”data too long for column“µÄÎÊÌâ¡£
    ÎÒµÄmysqlÖÐ×Ö·ûµÄÉèÖÃʱutf-8£¬²¢ÇÒÔÚ¿ØÖÆ̨ÖпÉÒÔ²åÈëÖÐÎÄÊý¾Ý²¢ÏÔʾ£¬µ«ÔÚnetbeansÖвåÈëÊý¾Ýʱȴ×ÜÊÇÏÔʾ”data too long for column“¡£»ù±¾¿ÉÒÔÅжÏÊÇÓÉÓÚnetbeansºÍmysqlÖ®¼äµÄÊý¾Ý½»»»³öÁ ......

PHPÓïÑÔ

    PHP£¬ÊÇÓ¢Îij¬¼¶Îı¾Ô¤´¦ÀíÓïÑÔHypertext PreprocessorµÄËõд¡£PHP ÊÇÒ»ÖÖ HTML ÄÚǶʽµÄÓïÑÔ£¬ÊÇÒ»ÖÖÔÚ·þÎñÆ÷¶ËÖ´ÐеÄǶÈëHTMLÎĵµµÄ½Å±¾ÓïÑÔ£¬ÓïÑԵķç¸ñÓÐÀàËÆÓÚCÓïÑÔ£¬±»¹ã·ºµÄÔËÓá£
    PHP ¶ÀÌصÄÓï·¨»ìºÏÁË C¡¢Java¡¢Perl ÒÔ¼° PHP ×Ô´´ÐµÄÓï·¨¡£Ëü¿ÉÒÔ±È CGI »òÕß Perl ¸ü¿ìË ......

php µ÷ÓÃ sudo ²»Ö´ÐÐÎÊÌâ

´úÂë
//µÚÒ»ÖÖ·½Ê½
exec($cmd,$str,$result);
echo "result = $result <br/>";
if ($result != 0) {
    echo "failed";
}
print_r($str);
#ûÓÐÊä³ö½á¹û
//µÚ¶þÖÖ·½Ê½
$output = shell_exec("/usr/bin/sudo /usr/bin/whoami 2>&1);
echo "output = ......

PHPʹÓÃÊý¾Ý¿âÓÀ¾ÃÁ¬½Ó·½Ê½²Ù×÷MySQLµÄÊÇÓë·Ç

PHP³ÌÐòÔ±Ó¦¸Ã¶¼ÖªµÀÁ¬½ÓMySQLÊý¾Ý¿â¿ÉÒÔʹÓÃmysql_pconnect£¨ÓÀ¾ÃÁ¬½Ó£©º¯Êý£¬Ê¹ÓÃÊý¾Ý¿âÓÀ¾ÃÁ¬½Ó¿ÉÒÔÌá¸ßЧÂÊ£¬µ«ÊÇʵ¼ÊÓ¦ÓÃÖÐÊý¾Ý¿âÓÀ¾ÃÁ¬½ÓÍùÍù»áµ¼Ö³öÏÖһЩÎÊÌ⣬ͨ³£µÄ±íÏÖ¾ÍÊÇÔÚ´ó·ÃÎÊÁ¿µÄÍøÕ¾ÉÏʱ³£·¢Éú¶Ï¶ÏÐøÐøµÄÎÞ·¨Á¬½ÓÊý¾Ý¿âµÄÇé¿ö£¬³öÏÖÀàËÆ£¢Too many connections in ...£¢µÄ´íÎóÌáʾÐÅÏ¢£¬ÖØÐÂÆô¶¯·þÎñÆ÷Ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ