PHP 4.0 Bug #5683: problem with starting the apache server running php3/4 together
| From: | hans at linux dot gelrevision dot nl | Date: | Wed, 19 Jul 2000 19:22:59 +0000 |
| Subject: | PHP 4.0 Bug #5683: problem with starting the apache server running php3/4 together | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25150@lists.php.net to get a copy of this message | ||
From: hans@linux.gelrevision.nl
Operating system: Linux Red Hat 6.0, Apache 1.3.12
PHP version: 4.0.1pl2
PHP Bug Type: Installation problem
Bug description: problem with starting the apache server running php3/4 together
Hi all,
Weird problem. Have compiled apache with DSO and both PHP3/4 with the following options:
$ ./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-versioning \
--with-mysql \
--enable-track-vars
for php 4 I have an additional option
--enable-trans-id
When installing these modules like it should apache won't show localhost. Whenever I run the
following script I build to make a workaround it works great (tested with <?phpinfo();?> it
shows the different configs):
#apachefix to run both php3 & php4
cp /usr/local/apache/conf/srm.conf.default /usr/local/apache/conf/srm.conf
cp /usr/local/apache/conf/httpd.conf.default /usr/local/apache/conf/httpd.conf
/usr/local/apache/bin/apachectl start
cp /usr/local/apache/conf/httpd.conf.php /usr/local/apache/conf/httpd.conf
cp /usr/local/apache/conf/srm.conf.php /usr/local/apache/conf/srm.conf
/usr/local/apache/bin/apachectl restart
Anyone got an idea on how to fix this without using this workaround?