2.6 apache # cd /home/software/ # tar -zxvf httpd-2.0.40.tar.gz # cd httpd-2.0.40 # ./configure --prefix=/var/www --enable-modules=so # make # make install
2.7安装php # cd /home/software # tar -zxvf php4-200303121030.tar.gz # cd php4-200303121030 # ./configure --with-mysql --with-apxs2=/var/www/bin/apxs # make # make install # cp php.ini-dist /usr/local/lib/php.ini