Hi:
Anyone has experience installing Apache 1.3.20 together with PHP/mod_ssl ?
In my experience I can successfully install Apache+mod_ssl.
It works for both case
/usr/../../apache/apachectl start (without SSL support)
http://localhost
/usr/../../apache/apachectl startssl (with SSL support)
https://localhost (only have test certificate)
But when I compile PHP4 as a DSO module (I have tried APXS and activate
module method) but it doesn't work.
Here's my procedure:
cd mod_ssl-2.8.x-1.3.x
./configure --with-apache=/usr/src/apache_1.3.20
cd /usr/src/apache_1.3.20
./configure --prefix=/usr/local/apache
in the PHP4 source directory
./configure
--with-apache=/usr/src/apache_1.3.20
--with-mysql=/usr/local/mysql
[other options]
make
make install
cd /usr/src/apache_1.3.20
SSL_BASE=SYSTEM
./configure --prefix=/usr/local/apache
--enable-module=ssl
--activate-module=src/module/php4/libphp4.a (I copy file from php source libs/libphp4.a)
make
make certificate
make install
finally I investigate httpd.conf in apache everything looks good in DSO section.
But when I try it to see whether it has PHP function.It doesn't work and I
only start apache with start but not startssl.
I think that there's problem happening between PHP4 module and SSL module.
So would anyone have any ideas about installing PHP4 module together with
Apache/mod_ssl ?
since I have already install Apache/PHP4/MySQL without SSL support many many times and haven't problem.But if SSL is added in PHP suffers.
Thx