在SGI企业服务器上集成Apache+Php+Mysql的实例
bsp; shell>tar -xvf php-4.0.3pl1.tar
本文链接地址:http://www.oyaya.net/fanwen/view/141048.html
shell>cd apache_1.3.14
shell>setenv CC gcc;./configure --prefix=/usr/local/apache
shell>cd ../php-4.0.3pl1
shell>./configure --with-mysql=../mysql --with-apache=../apache_1.3.14 \
--enable-track-vars
shell>make
shell>make install
shell>cp php.ini-dist /usr/local/lib/php.ini
shell>cd ../apache_1.3.14
shell>setenv CC gcc;./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a
shell>make
shell>make install
进入/usr/local/apache/conf目录,对httpd.conf文件进行配置(请查阅有关apache的配置资料),完成后用
《在SGI企业服务器上集成Apache+Php+Mysql的实例(第5页)》