ÅäÖÃAPACHEʹÆäÖ§³ÖphpµÄ³É¹¦¾Ñé
ÅäÖÃAPACHEʹÆäÖ§³ÖphpµÄ³É¹¦¾Ñ飨ֻÊǹؼü²¿·ÖÅäÖ㬲¢·ÇÕû¸öÅäÖùý³Ì£©
»·¾³£º
WinXP sp3
Apache2.2
php-5.2.2-Win32.zip½âѹĿ¼D£º\PHP
ÔÚApacheµÄhttpd.confÎļþÖвÉÈ¡ÓüÓÔØÄ£¿éµÄ·½Ê½ÔÚÎļþÖÐÌí¼ÓÓï¾ä£º
LoadModule php5_module "D:/PHP/php5apache2-2.dll"
×¢ÒâÕâÀïÒ»¿ªÊ¼ÎÒÌí¼ÓµÄÊÇD:/PHP/php5apache2.dllÕâ¸ö¿â£¬µ«ApacheÆô¶¯µÄʱºò×ܱ¨´í˵ÎÞ·¨¼ÓÔØÕâ¸ö¿â¡£
»¹ÓÐÔÚhttpd.confÖмÓÉÏÒ»¾ä£º
AddType application /x-httpd-php.php
ÕâÒ»¾äºÜÏÔÈ»ÊÇÌí¼ÓAphche½âÎöÎļþµÄÀàÐ͵ģ¬ÕâÀïÎÒÌí¼ÓµÄÊÇ.phpÀàÐÍÎļþ¡£
£¨ÆäËüÅäÖùý³ÌÓëÍøÉϲ鵽µÄ×ÊÁÏÏàͬ£©
Ïà¹ØÎĵµ£º
phpÁ¬½Óaccess
$conn=new COM("ADODB.Connection");
$dsn="DRIVER={Microsoft Access Driver (*.mdb)};DBQ=".realpath("data.mdb").";Uid=Admin; Pwd=BDC2002Data;";
$conn->open($dsn);
$sql="select * from dict";
$rs=$conn->Execute($sql);
$row="0";
while(!$rs->EO ......
´ó¼ÒºÃ£¬Çë½ÌÒ»¸öÎÊÌ⣬Âé·³ÓÐÀàËƾÑéµÄ°ï°ï棬лл¸÷λÁË!
±¾ÈËÒÔǰѧ¹ýÁ½ÄêµÄ.NET,ÓÃC#£¬ASP.NET£¬Winfrom,SQLServer×ö¹ý¼¸¸öÍøÕ¾ºÍСÐ͵ĹÜÀíϵͳ¡£
ÏÖÔÚµ½Ò»¼Òй«Ë¾£¬ÒªÇóÎÒѧPHP¡£Âé·³¸ßÊÖÖ¸µãһϣ¬P ......
php°²×°
# tar xzvf php-5.2.5.tar.gz
# cd php-5.2.5
./configure --prefix=/home/redadmin/php --with-apxs2=/home/redadmin/apache/bin/apxs --with-mysql=/home/redadmin/mysql --enable-mbstring=all --enable-track-vars
# make && make install
# cp php.ini-dist /home/redadmin/php/lib/php.ini
# c ......
LAMPÕâ¸ö´ÊµÄÓÉÀ´×îÔçʼÓڵ¹úÔÓÖ¾“c't Magazine”£¬Michael KunzeÔÚ1990Äê×îÏÈ°ÑÕâЩÏîÄ¿×éºÏÔÚÒ»Æð´´ÔìÁËLAMPµÄËõд×Ö¡£ÕâЩ×é¼þËäÈ»²¢²»ÊÇ¿ª¿ªÊ¼¾ÍÉè¼ÆΪһÆðʹÓõģ¬µ«ÊÇ£¬ÕâЩ¿ªÔ´Èí¼þ¶¼¿ÉÒԺܷ½±ãµÄËæʱ»ñµÃ²¢Ãâ·Ñ»ñµÃ¡£Õâ¾Íµ¼ÖÂÁËÕâЩ×é¼þ¾³£ÔÚÒ»ÆðʹÓá£ÔÚ¹ýÈ¥µÄ¼¸ÄêÀÕâЩ×é¼þµÄ¼æÈÝÐÔ²»¶ÏÍêÉÆ£¬Ô ......
µÚÒ»²½£º ÏÂÔغͰ²×°PHP
php°æ±¾: php-5.2.10-Win32.zip
1.½âѹphpÎļþµ½ c:\php
2.½«phpÎļþ¼ÐÏ php.ini-dist ¸ÄÃûΪ php.ini ,È»ºóÕÒµ½extension_dir = "./" ¸ÄΪ extension_dir = "c:\php\ext" (´ó¸ÅÔÚ461ÐÐ)
3.È¥µô;extension=php_mysql.dll Ç°µÄ";"×¢ÊÍ·ûºÅ (´ó¸ÅÔÚ589ÐÐ)(Èç¹ûûÓеĻ°¿ÉÒÔ¼ÓÉÏÕâÃû»°.)
4.¸´ÖÆp ......