Hi, I have set up apache with mod_ssl. I have tried to
add php but whenever I try to view a php page i only get
the code returned to the browser. The installation path
I followed is detailed below. All works fine apart from
the PHP.
Any help greatly appreciated!
$ cd openssl-0.9.6g
$ sh config \
no-idea \
no-threads \
-fPIC
$ make
$ cd mod_ssl-2.8.12-1.3.27
$./configure \
--with-apache=../apache_1.3.27
--with-crt=/usr/apache_ssl/conf/ssl.crt/server.crt
--with-key=/usr/apache_ssl/conf/ssl.key/server.key
$ cd apache_1.3.27
$ SSL_BASE=../openssl-0.9.6g \
./configure \
--enable-module=ssl
--prefix=/usr/apache_ssl
--enable-shared=max
--enable-rule=SSL_EXPERIMENTAL
--enable-rule=SSL_VENDOR
$ make
$ make install
cd php-4.3.1
rm -f config.status config.cache
make clean
./configure --with-apxs=/usr/apache_ssl/bin/apxs
--with-mysql
$ make
$ make install
then copy over the php.ini file to /usr/local/lib/php.ini
and add these lines to my httpd.conf file:
LoadModule php4_module
/usr/apache_ssl/libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php .php3 .phtml
Thanks!
Rich
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php