PHP5.1.5_Apache2.2.3_MySQL5.0.24°²×°ÅäÖÃ
ËùÐèÈí¼þ£¨×¢Òâ°æ±¾£¡£©£º
Apache2.2.3
PHP5.1.5
MySQL5.0.24
ÕâÈý¸öÈí¼þ¶¼ÊÇÃâ·ÑµÄ£¬¿É´Ó¹ÙÍøÉÏÏÂÔØ£¬Ä¿Ç°ÎÒËùÓеÄÈí¼þÃûΪ£º
apache_2.2.3-win32-x86-no_ssl.msi
mysql-5.0.24-win32.zip
php-5.1.5-Win32.zip
»ùÓÚwindows²Ù×÷ϵͳ£¬ÔÚWindows XPÏ°²×°Ê¹Óãº
1¡¢°²×°¹ý³Ì£º
Ê×ÏÈ°²×°Apache·þÎñÆ÷£¬Ë«»÷apache_2.2.3-win32-x86-no_ssl.msi¼´¿É°²×°¡£ºÍÒ»°ã°²×°Ã»ÓÐʲôÁ½Ñù£¬¿É²ÉÓÃĬÈÏ°²×°¡£ÕâÀïÑ¡ÓÃcomplete°²×°£¬°²×°Ä¿Â¼¿ÉÒÔÈÎÒâÑ¡Ôñ£¬ÕâÀïΪ£ºD:\Program Files\Apache Software Foundation\Apache2.2;
½Ó׎«PHPѹËõ°ü£¨php-5.1.5-Win32.zip£©½âѹµ½Ò»¸öĿ¼ÀÀýÈ磺D:\php5
×îºó°²×°MySQL£¬½âѹºóË«»÷Setup.exeÎļþ½øÐа²×°£¬°²×°¹ý³ÌÖÐ×îºÃд´½¨Ò»¸öÓû§²¢É趨ÃÜÂ룬ѡÔñ¿ÉÒÔÔÚÃüÁîÐÐÏÂÔËÐÐÑ¡Ï°²×°ÍêÖ®ºó¼´¿É½øÐÐÏêϸµÄÅäÖã¬ÈçÊý¾Ý¿âĿ¼£¨C:\database£©µÈµÈ¡£
2¡¢ÊµÏÖÖ÷ÒªÅäÖãº
°²×°ÊDZȽϼòµ¥µÄ¹ý³Ì£¬×îÖ÷ÒªµÄ»¹ÊÇÅäÖÃÎÊÌâ¡£
Ê×ÏÈʵÏÖPHPÓëApacheµÄÁ¬½Ó£¬ÔÚApache°²×°Ä¿Â¼ÏµÄconfĿ¼ÀïÓиöÅäÖÃÎļþhttpd.conf£¬ÓüÇʱ¾´ò¿ª£¬ÕÒµ½ÒÔϼ¸ÐУº
1)Listen 80
ServerName NerverWinter.domain:80
2)#LoadModule ssl_module modules/mod_ssl.so
3)DocumentRoot "d:/Program Files/Apache Software Foundation/phpdocuments"
4)<Directory "d:/Program Files/Apache Software Foundation/phpdocuments">
5)DirectoryIndex index.html default.php
6)AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
1£©ListenÊÇApache·þÎñÆ÷¼àÌý¶Ë¿Ú£¬Ä¬ÈÏΪ80£¬¿ÉÒÔ¸ü¸Ä£¬×¢ÒâServerName NerverWinter.domain:80ÕâÒ»ÐеĶ˿ںÅÒªºÍlistenµÄÒ»ÖÂ;
2£©ÔÚ#LoadModule ssl_module modules/mod_ssl.soÏÂÃæÔö¼ÓÒ»ÐУº
LoadModule php5_module modules/php5apache2.dll£¨×¢Ò⣺±ØÐ뽫php°²×°Ä¿Â¼ÀïµÄphp5apache2.dll¿½±´ÖÁApache°²×°Ä¿Â¼ÏµÄmodulesĿ¼£©
3£©DocumentRootΪ·þÎñÆ÷Îĵµ¸ùĿ¼£¬ÎªÁ˹ÜÀíÎļþ£¬ÎÒ½«ÆäÉèΪD£º\wwwrootĿ¼£¨×Ô¼ºÊ×ÏÈÒª´´½¨¸ÃĿ¼£©
4£©½Ó×Å»¹ÒªÐÞ¸ÄÉÏÃæµÚ4ÏîµÄĿ¼ΪÉÏÃæÖ¸¶¨µÄ¸ùĿ¼µÄ·¾¶
5£©ÎªÄ¬ÈÏ·ÃÎʵÄÍøÒ³£¬¿ÉÒÔÔö¼Ódefault.phpµÈ
ÀýÈ磺DirectoryIndex index.html index.php
6£©ÔÚµÚ6ÏîºóÃæÔö¼Ó
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
Ïà¹ØÎĵµ£º
ÕâÀï˵µÄPHP¿ª·¢¹¤¾ß£¬Ö¸µÄÊÇIDE¹¤¾ß¡£ÏñEditplus¡¢Notepad++¡¢UltralEditµÈ¹¤¾ß¶¼ÊǺܺõĿª·¢¹¤¾ß£¬ÌرðÊǶÔÓÚ³õѧÕßÀ´Ëµ£¬µ«ÊÇÕâÀï¾Í²»ÔÙÊäÕâЩÁË¡£ÎÒÃÇ¿´Ò»¿´³£ÓõÄIDE¿ª·¢¹¤¾ß£¬ÎÒ¸öÈËÀí½âÈç¹ûÒªÊÇ×Ô¼ºÑ§Ï°¡¢Á·Ï°Ò»¶¨ÒªÓÃÀàËÆÓÚEditplusµÄÎı¾±à¼Æ÷£¨¼Çʱ¾¾ÍÌ«¹ý·ÖÁË£©¡£µ«ÊÇÈç¹ûÊÇʵ¼ÊÏîÄ¿ÔÙʹÓÃÄĸö¾ÍÓе㲻ºÏÊÊÁË ......
»°ËµÍ·ÌÛÁËNÌìµÄÎÊÌâ,½ñÌìÖÕÓÚ½â¾öÁË¡£
Òª×öMangosµÄ¹ÜÀíÈí¼þ£¬Copy¶àÍæħÊÞÊý¾Ý¿â×öÁ˸öÏàͬ¹¦ÄܵijÌÐò£¬µ«ÊÇ¿ª·¢Öз¢ÏÖ²¢²»ÊÇÈ«²¿µÄÐÅÏ¢¶¼ÌåÏÖÔÚÊý¾Ý¿âÀï¡£
ΨһµÄ½â¾ö·½·¨¾ÍÊÇÈ¥¶ÁÈ¡dbcÎļþ¡£
×ʼÏëµ½µÄ¾ÍÊÇʹÓÃÀàËƶÁÈ¡ip¿âµÄ·½·¨¡£µ«ÊÇÎÊÌâºÜÃ÷ÏÔ£¬²»Í¬µÄ¿âÎļþ´æ·ÅµÄÍ·Îļþ³¤¶È²»Í¬£¬Ö»ÄÜÒ»µãÒ»µãµÄÊÔ»òÊÇÔÚÍøÉ ......
·ÂGOOGLEºÍDiscuz·ÖÒ³º¯Êý(php)
Õâ¸öº¯ÊýÖ»ÐèÒª2¸ö²ÎÊý µ±Ç°Ò³ÂëºÍ×ÜÒ³Êý,$siteÊÇ·¾¶,ÎļþÃû¿ÉÒÔ°´×Ô¼ºµÄÐèÒªÐÞ¸Ä
Õâ¸öº¯Êý²»ÄÜ´«µÝÆäËû²ÎÊý,Èç¹ûÒª´«µÝÆäËû²ÎÊý,ÔÚº¯ÊýÀï×Ô¼º¼ÓÒ»¸ö²ÎÊý¾ÍÐÐÁË
<?php
//¼ÆÊý
$sql = “SELECT count(*) from `andycms_title`;”;
$numrs = mysql_query($sql) or ......
ÏÖÔÚ»¹ÓкܶàÈ˸㲻¶®PHPºÍJAVA¿ª·¢µÄÐͬOAµ½µ×ÓÐʲô²»Í¬£¬¶Ô×Ô¼ºµ½µ×ÓÐʲôӰÏ죬ÒÔÖÁÓÚ×ö³öÁË´íÎóµÄÑ¡Ôñ¶øêݺ¦ÎÞÇî¡£±ÊÕ߸ù¾ÝÁ½ÖÖ¼¼ÊõµÄÌصãÖØÐÂÕûÀíÁËÒ»¸ö¶Ô±È£¬¸ø¹ØÐÄÐͬOA¼¼ÊõµÄ¶ÁÕß×ö¸ö²Î¿¼¡£
»ªÌ춯Á¦ÐͬOAÊDzÉÓÃJAVA¼¼ÊõµÄµäÐÍ´ú±í£¬²¢¾ßÓÐһϵÁÐÓÅ»¯É ......
°æ±¾£ºapache_2.2.6-win32-x86-no_ssl
Ö±½Ó°´Ä¬ÈÏ°²×°£¬°²×°Ê±Òª¹Ø±Õä¯ÀÀÆ÷¸úÏÂÔØÈí¼þ£¬·ñÔò°²×°Íê³Éºó·þÎñÆ÷²»ÄÜÆô¶¯£¬±¨²»ÄÜ°ó¶¨80¶Ë¿ÚµÄ´íÎó¡£Æô¶¯ºóÔÚµØÖ·À¸ÖÐÊäÈë“http://localcast/”»ò“http://127.0.0.1/”£¬Èç¹û¿ÉÒÔ¿´µ½"It Works"£¬ËµÃ÷°²×°³É¹¦¡£
Èç¹ûÐèÒª¸ü¸ÄĬÈÏ·¾¶£¬´ò¿ª“C:\P ......