Installation problem
| From: | Jean-Christian Imbeault | Date: | Mon, 27 Jan 2003 07:11:30 +0000 |
| Subject: | Installation problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-133220@lists.php.net to get a copy of this message | ||
I've installed PHP and Apache countless times but it seems I have forgotten something somehow because I can't for the life of me get apache to install PHP as a static module. Argh ...!
I'm trying to get PHP 4.3.0, Apache 1.3.27, openssl-0.9.7, mod_ssl-2.8.12-1.3.27 all working together but to no avail. The best I can get is a mod_ssl aware apache server, but no PHP.
These are the steps I am following. Can anyone spot my error?
# cd openssl-0.9.7
# ./config -no-thread
# cd ..
# cd mod_ssl-2.8.12-1.3.27/
# ./configure --with-apache=../apache_1.3.27/
# cd ../apache_1.3.27/
# ./configure
# cd ../php-4.3.0/
# ./configure --with-pgsql=/usr/local/psql/ --without-mysql --with-apache=../apache_1.3.27/ --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex
# make && make install
# cd ../apache_1.3.27/
# SSL_BASE=../openssl-0.9.7 ./configure --with-pgsql=/usr/local/pgsql/ --without-mysql --prefix=/www --activate-module=src/modules/php4/libphp4.a --enable=module=ssl
# make
# make install
I add the following line to httpd.conf and start apache:
AddType application/x-httpd-php .php
But when I try and load a .php page I get a "Save File" dialog ...
What step did I miss or where did I do something wrong?
Thanks!
Jc