| 
| 技术资料  > PHP技术 > 入门教程 : Linux下快速安装“apache+php3+mysql” |  
Linux下快速安装“apache+php3+mysql” March 25,2004 |  
介绍一种快速安装“apache+php3+mysql”的方法:  
此方法是将php3编译成apache的一个模块(在此之前要先安装mysql)。  
  gunzip apache_1.3.x.tar.gz  
  tar xvf apache_1.3.x.tar  
  gunzip php-3.0.x.tar.gz  
  tar xvf php-3.0.x.tar  
  cd apache_1.3.x  
  ./configure --prefix=/your_path  
  cd ../php-3.0.x  
  ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars  
  make  
  make install  
  cd ../apache_1.3.x  
  ./configure --prefix=/your_path --activate-module=src/modules/php3/libphp3.a  
  make  
  make install  
  cd ../php-3.0.x  
  cp php3.ini-dist /usr/local/lib/php3.ini  
编辑httpd.conf文件,去掉"#AddType application/x-httpd-php3 .php3"这句前的"#"。  
  
 
【本文版权归作者dodo与奥索网共同拥有,如需转载,请注明作者及出处】     
         |  
 
 | 
  
Copyright © 2001-2008 Shenzhen Hiblue Software Team All rights reserved