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

Bugfree £¨Apache php MySQL£©µÄ°²×°

Ò»¡¢Apache HTTP Server °²×°£º
ÔËÐÐApache .msi Îļþ£¬°²×°³ÌÐò½«ÒªÇóÄãÌîдÈçÏÂÄÚÈÝ£º
1. Network Domain¼üÈëÄãµÄ·þÎñÆ÷£¨»òÕßÊÇÄã¼´½«×¢²áµÄ·þÎñÆ÷£©µÄDNS ÓòÃû¡£ÀýÈ磬ÄãµÄ·þÎñÆ÷µÄDNSÓòÃûÈ«³ÆÊÇserver.mydomain.net,ÄãÖ»ÐèÔÚÕâÀïÊäÈëmydomain.net¡£
2. Server Name  ¾ÍÊÇÄãµÄ·þÎñÆ÷µÄDNSÓòÃûÈ«³Æ£¬»¹ÊÇÉÏÃæµÄÀý×Ó£¬ÄãÓ¦¸Ã¼üÈëserver.mydomain.net¡£
3. Administrator's Email Address  ¼üÈë·þÎñ¹ÜÀíÔ±»òÕßÕ¾³¤µÄEmailµØÖ·¡£Õâ¸öµØÖ·½«Ä¬ÈϺʹíÎóÏûÏ¢Ò»ÆðÏÔʾÔÚ¿Í»§¶Ë¡£
4. For whom to install Apache Èç¹ûÄãÏëÈÃapache¼àÌý80¶Ë¿Ú£¬Ñ¡Ôñfor All Usere£¬Ëü½«»áÒÔÒ»¸ö·þÎñÔËÐУ¨Ò²¾ÍÊÇ˵£¬ApacheÔÚÎÞÈ˵Ǽ·þÎñµÄʱºòÈÎÈ»»áÔËÐУ©¡£Èç¹ûÄãÐèҪ˽ÈËʵÑé°²×°»òÕßÊÇ80¶Ë¿ÚÒѱ»Õ¼ÓõÄÇé¿öÏ£¬Ñ¡Ôñonly for the current User
5. The installation type  Ñ¡ÔñTypical£¬³ýÁËÔ´´úÂëºÍ×é¼þ¿ª·¢¿âÍ⣬½«°²×°ËùÓС£Custom¿ÉÒÔÈÃÄã¾ßÌåÖ¸¶¨°²×°ÄÄЩ¡£
6. Where to install.  Ä¬ÈÏ·¾¶ÊÇĬÈÏ´´½¨µÄĿ¼Apache2.2Ï嵀 C:\Program Files\Apache Software Foundation¡£
¸ü¶à¿ÉÒÔ·ÃÎÊ£º http://httpd.apache.org/docs/2.2/platform/windows.html#wincons
 
 
ÊäÈëÈçÉϵØÖ·£¬³öÏÖ´ËÒ³Ãæ¾Í˵Ã÷Apache°²×°ÕýÈ·¡£
  
¶þ¡¢PHP°²×°£º
    ½«php-5.2.6-Win32.zipÖ±½Ó½âѹµ½°²×°Ä¿Â¼£¬´ò¿ªphp.iniÕÒµ½:
 £»extension=php_mysql.dll½«Ç°ÃæµÄ£»£¨·ÖºÅ£©¡£ÕÒµ½:extension_dir = “./”£¬½«Æä¸ÄΪphp°²×°Ä¿Â¼ÏÂext×ÓĿ¼µÄ¾ø¶Ô·¾¶¡£Èçextension_dir = “D:/php5/ext/”¡£ÅäÖÃphp»·¾³±äÁ¿£¬½«pathÉèÖÃΪphpĿ¼“D:\php5“¡£
     È»ºó£¬ÔÚApache°²×°Îļþ£¬D:/Apache2.2/conf/httpd.conf£¬ÕÒµ½£º
¡¾"D:/Apache2.2/htdocs"¸Ä³É±¾»úµÄÍøÕ¾ÄÚÈݵÄĿ¼¡£È磺
DocumentRoot "D:/Apache2.2/htdocs"
ÕÒµ½“# This should be changed to whatever you set DocumentRoot to.”£¬È»ºó°ÑÏÂÃæÕâ¸öµØ·½Ò²¸Ä¹ýÀ´
<Directory "D:/Apache2.2/htdocs">¡¿À¨ºÅÀïµÄÅäÖÃÔÚºóÀ´µÃ°æ±¾Öж¼ÊÇ×Ô¶¯µÄ£¬²»ÓÃÔÙÈ¥ÅäÖá£
      php×°Ôص½ApacheÖÐÓÐÁ½ÖÖ·½Ê½¡£ÕâÀïÓõ½µÄÊÇ£¬½«php×÷Ϊһ¸öÄ£¿é¼ÓÔؽøÈ¥£¬ÁíÒ»ÖÖÊÇ×÷Ϊһ¸ö¹«¹²Íø¹Ø½Ó¿ÚµÄ·½Ê½ÁªÏµÆðÀ´¡£ÕÒµ½LoadModule£¬¸ù¾Ýphp°²×°Ä¿Â¼£¬ÔÚÏÂÃæ¿Õ°×´¦¼ÓÉÏÕâÁ½ÐУº
Loa


Ïà¹ØÎĵµ£º

php¶ÁÈ¡jarÐÅÏ¢×Ô¶¯Éú³ÉjadÎļþ


ÉÏ´«jarÊÖ»úÓÎÏ·¿Í»§¶Ëʱ£¬ÒòΪÓÐЩÊÖ»úÈçÈýÐǵÄijЩ»úÐÍÖ»ÄÜ°²×°jadÎļþ£¬ËùÒÔÔÚºǫ́ÉÏ´«ÐèŪһ¸ö¸ù¾ÝJARÎļþ×Ô¶¯Éú³ÉJADµÄ¹¦ÄÜ¡£Ò»°ãÔÚJARµÄÎļþ°üÄÚ£¬»áÓÐÒ»¸öÓÎÏ·ÐÅÏ¢Îļþ£¬Ò»°ã»áÔÚMETA-INF/MANIFEST.MFÀÎÒÃÇÖ»ÐèÒª¶ÁÈ¡µ½Õâ¸öÎļþµÄÄÚÈÝ£¬È»ºóÔö¼ÓһЩÆäËüÐÅÏ¢£¬Éú³ÉJADÎļþÀï¾ÍÐÐÁË¡£ÕâÀïÐèÒªÓõ½PHPµÄzipÀ©Õ¹À´ ......

MySQL collation·½·¨

ÎÊÌâÊÇÕâÑùµÄ£º
Ò»ÕÅtestµÄ±í£¬×Ö·û¼¯²ÉÓõÄlatin1¡£
select to_id from test where to_id='cnÏó_Íõ';
+---------------+
| to_id |
+---------------+
| cnÌÕ_ÌÕ |
| cnÏó_Íõ |
+---------------+
2 rows in set (0.00 sec)
È¡cnÏó_ÍõµÄÊý¾Ý,¾ÓÈ»°ÑcnÌÕ_ÌÕµÄÊý¾ÝҲȡ»ØÀ´ÁË¡£
ÕâÏÔÈ»ÊDz»ÔÊÐíµÄ¡£
......

MySQLÐÔÄÜÓÅ»¯µÄ×î¼Ñ20+Ìõ¾­Ñé

½ñÌ죬Êý¾Ý¿âµÄ²Ù×÷Ô½À´Ô½³ÉΪÕû¸öÓ¦ÓõÄÐÔÄÜÆ¿¾±ÁË£¬Õâµã¶ÔÓÚWebÓ¦ÓÃÓÈÆäÃ÷ÏÔ¡£¹ØÓÚÊý¾Ý¿âµÄÐÔÄÜ£¬Õâ²¢²»Ö»ÊÇDBA²ÅÐèÒªµ£ÐĵÄÊ£¬¶øÕâ¸üÊÇÎÒÃdzÌÐòÔ±ÐèҪȥ¹Ø×¢µÄÊÂÇé¡£µ±ÎÒÃÇÈ¥Éè¼ÆÊý¾Ý¿â±í½á¹¹£¬¶Ô²Ù×÷Êý¾Ý¿âʱ£¨ÓÈÆäÊDzé±íʱµÄSQLÓï¾ä£©£¬ÎÒÃǶ¼ÐèҪעÒâÊý¾Ý²Ù×÷µÄÐÔÄÜ¡£ÕâÀÎÒÃDz»»á½²¹ý¶àµÄSQLÓï¾äµÄÓÅ»¯£¬¶øÖ»ÊÇÕë ......

tomcat ÅäÖÃmysql Êý¾Ý¿âÁ¬½Ó³Ø

tomcat °²×°Ä¿Â¼ÏµÄconfĿ¼ÖеÄcontext.xmlÓëweb.xmlÎļþ·Ö±ðÐÞ¸ÄÈçÏ£º
context.xml мÓÈçÏÂÄÚÈÝ£º
<Resource name="jdbc/mysql"
auth="Container"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://Êý¾Ý¿âµØÖ·:3306/Êý¾Ý¿âà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ