Apache HTTP |
PHP Sample Compile and Installation
# tar xzvf php-3.0.9.tar.gz
# cd php-3.0.9
# more INSTALL
# ./configure --help | more
# ./configure --prefix=/opt/local --with-mysql=/opt/mysql --with-apache=/opt/src/apache --enable-track-vars
# make
# make install
# cd ../apache_1.3.6
# ./configure --prefix=/opt/web --enable-module=speling --enable-module=unique_id --activate-module=src/modules/php3/libphp3.a
# make
# /opt/web/bin/apachectl stop
# make install
# cd /opt/web/conf
# cp httpd.conf httpd.conf_19990612
# vi httpd.conf
# diff httpd.conf httpd.conf_19990612
651,652c651,652
< AddType application/x-httpd-php3 .phtm
< AddType application/x-httpd-php3-source .phts
---
> #AddType application/x-httpd-php3 .php3
> #AddType application/x-httpd-php3-source .phps
# /opt/web/bin/apachectl start
PHP Samples |