[PHP-DEV] PHP 4.0 Bug #5683: problem with starting the apache server running php3/4 together From: hans <email protected>
Date: 07/19/00

From: hans <email protected>
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?

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>