ubuntu Ï ´î½¨ apache+php+mysql
#apt-get install apache2
//°²×°apahce2
#apt-get install php5
//°²×°php5
#apt-get install mysql-server
//°²×°mysql·þÎñ¶Ë
#apt-get install mysql-myclient
//°²×°mysqlµÄ¿Í»§¶Ë
#apt-get install php-mysql
//°²×°php-mysqlµÄÁ¬½á
apache+php+mysql »·¾³ÒѾ´î½¨ºÃÁË
½«ÒÔϵķþÎñÖØÆôÒ»ÏÂ
#/etc/init.d/apache2 restart
#/etc/init.d/mysql restart
ÏÖÔÚÔÚFirefoxä¯ÀÀÆ÷ÊäÈë localhost/123 ¿´¿´ÊDz»ÊÇ ubuntu+apache+php »·¾³ÄØ
Ö÷»ú»áÌṩÄãÕâЩÐÅÏ¢£¬µ«ÊDZðÈË˵¿´²»¼ûµÄ£¬Ò²¾ÍÊÇubuntu ½«ÅäÖÃÐÅÏ¢¶ÔÍâÒþ²ØÁË
Ïà¹ØÎĵµ£º
Éý»ªÌṩÖÕÉíÃâ·ÑASP+access PHP+mysqlÐéÄâÖ÷»ú
Ò»£ºÉý»ªÍøÂç¿Æ¼¼ÓÐÏÞ¹«Ë¾,ÓëÉý»ªÍ¬ÔÚÕ¾³¤ÖÕÉíÃâ·Ñ¿Õ¼ä·ö³Ö¼Æ»®.
1¡¢×ð¾´µÄÓû§ÄúºÃ,Ò²ÐíÄú»¹ÔÚΪÿÄêÒ»½»µÄ¿Õ¼ä·ÑÓ÷¢³î,Ò²ÐíÄúÏë»ñµÃÒ»¸ö¸üÓÅÖʵĿռäÈ´²»ÏëͶÈëÌ«¶à,´ÓÏÖÔÚÆð ÕâЩÎÊÌ⽫ÓÈжø½â→Éý»ªÍøÂç←ÓëÉý»ªÍ¬ÔÚÕ¾³¤·ö³Ö¼Æ»®È«ÃæÆô¶¯¡£
2¡¢Ã»ÓÐ×¢²á¹«Ë¾ ......
1. Windows XP »·¾³Ï°²×° Apache HTTP Server 2.2.8
¸ÃÕ½ڽ²ÊöÈçºÎÔÚ Windows XP »·¾³Ï°²×° Apache HTTP Server¡£
ÏÂÔØ Apache HTTP Server 2.2.8
Apache µÄ¹Ù·½ÍøÕ¾ÊÇ http://apache.org/¡£
Apache HTTP Server µÄÏÂÔØÒ³ÃæÊÇ http://httpd.apache.org/download.cgi£¬¸ÃÒ³ÖлáÌáʾÄã¿É¹©ÏÂÔصľ ......
ÍøÒ³µÄ»º´æÊÇÓÉHTTPÏûϢͷÖеġ°Cache-control¡±À´¿ØÖƵģ¬³£¼ûµÄÈ¡ÖµÓÐprivate¡¢no-cache¡¢max-age¡¢must-revalidateµÈ£¬Ä¬ÈÏΪprivate¡£Æä×÷Óøù¾Ý²»Í¬µÄÖØÐÂä¯ÀÀ·½Ê½·ÖΪÒÔϼ¸ÖÖÇé¿ö£º £¨1£© ´ò¿ªÐ´°¿Ú
ֵΪprivate¡¢no-cache¡¢must-revalidate£¬ÄÇô´ò¿ªÐ´°¿Ú·ÃÎÊʱ¶¼»áÖØзÃÎÊ·þÎñÆ÷¡£
¶øÈç¹ûÖ¸¶¨ÁËmax ......
http://prato.bokele.com/?ArticleID=15302
ÔÚÒ»°ãµÄÓ¦ÓÃÖУ¬PHPµÄ³ÌÐòÔ±»á±È½ÏÉÙµÄ×¢Òâµ½php³ÌÐòµÄϸ΢Ëã·¨¶ÔÐÔÄÜÓ°ÏìµÄÎÊÌ⣬µ«ÔÚ´¦ÀíһЩ±È½ÏÕ¼ÓÃ×ÊÔ´µÄ¶«Î÷µÄʱºò£¬Êʵ±µ÷ÕûËã·¨£¬»áÈóÌÐòµÄÐÔÄÜÕû±¶µÄÌá¸ß¡£
Õ⼸Ì죬ÎÒÔÚÑо¿·Ö´ÊµÄËã·¨£¬Èç¹û²»Ô¤ÏÈÔØÈë´ÊµäµÄ»°£¬ÄÇÖÖÔËËãËÙ ......
½øÐÐÎļþµÄ¶ÁºÍд£¬ÏÈ´ò¿ªÒ»¸öÎļþ£¬È»ºó¿ªÊ¼¶Á»òÕßдÎļþ£¬×îºóÔÙ¹ØϵÕâ¸öÎļþ×ÊÔ´¡£
È磬ÎļþµÄ¶Á²Ù×÷£º
<?php
$file = fopen('your file path','r');
while(!feof($file)){ //µ±Ã»ÓжÁÈ¡µ½Îļþ½á⣬¼ÌÐøÑ»·¶ÁÈ¡²Ù×÷
$line = fgets($file); //¶ÁÈ¡µ½Ò»ÐеÄÄÚÈÝ
echo $line.'<br/>';
}
fclose($file) ......