ID: 22112
Updated by: [EMAIL PROTECTED]
Reported By: sysadmin at destination dot ca
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: Linux Redhat 6.2
PHP Version: 4.3.0
New Comment:
I think I didn't understand you correctly..but didn't you just say in
your last comment that it did work?
And next release (4.3.2) will be out in couple of weeks.
(hopefully mid-march)
Previous Comments:
------------------------------------------------------------------------
[2003-02-24 08:34:51] sysadmin at destination dot ca
Latest question.
I will try the latest snapshot today the one of friday still have the
problem.
If the problem is corrected in the cvs-snaptsnot, how long till you
release a new version ? since i can't run a cvs code on production
server.
Regards
------------------------------------------------------------------------
[2003-02-24 08:28:05] [EMAIL PROTECTED]
If the problem that you opened this bug report for is fixed in latest
cvs snapshot -> closed.
(check the bug database for reports about open_basedir problems and
that openssl 0.9.7 problem. Add your comments to the existing reports
and if you can't find any, submit new reports.)
------------------------------------------------------------------------
[2003-02-24 08:22:36] sysadmin at destination dot ca
MODSSL :
./configure --with-apache=../apache_1.3.27 --with-ssl=/usr/local/ssl
APACHE :
./configure \
--prefix=/usr/local/apache \
--enable-module=log_agent \
--enable-module=log_referer \
--enable-module=info \
--enable-module=vhost_alias \
--enable-module=speling \
--enable-module=rewrite \
--enable-module=so \
--enable-module=ssl
OpenSSL 0.9.6i ( since OpenSSL 0.9.7 or 0.9.7a ) don't compile with php
4.3.1 or lastest stable snapshot )
./config --openssldir=/usr/local/ssl;make;make test;make install
PHP 4.3.1 or lastest stable snapshot
./configure \
--with-mysql=/usr/local/mysql \
--enable-calendar \
--enable-gettext \
--enable-ftp \
--enable-bcmath \
--enable-trans-sid \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--with-dom \
--with-gd=/usr/gd-with_gif \
--with-jpeg-dir=/usr/lib \
--with-freetype-dir=/usr/local/freetype2 \
--with-png-dir=/usr/lib \
--with-gettext \
--with-zlib \
--with-mm=/usr/lib \
--with-zlib-dir=/usr/lib \
--with-pdflib=/usr/local/pdflib \
--with-config-file-path=/usr/local/apache/conf \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mcrypt=/usr/local/libmcrypt \
--with-openssl=/usr/local/ssl \
--with-snmp \
--with-kerberos \
--with-imap \
--with-imap-ssl=/usr/local/ssl \
--prefix=/usr/local/php
RESUME :
As far as i know the problem exist for up to php 4.2.0
with this setup if you don't setup any open_basedir config in
httpd.conf it look like there's no problem, if you setup a open_basedir
for one virtual host the problem start to happen in the error log you
see a website trying to load php file with the open_basedir of another
virtualhost, the work around is to setup a open_basedir for every
virtualhost.
This seem to correct the problem when killall -1 httpd make httpd to
die and not reload is config.
If you need any further information please feel free to contact me
again.
Regards
------------------------------------------------------------------------
[2003-02-24 07:51:09] [EMAIL PROTECTED]
I asked for those configure lines...?
Can you please give them first?
(and compiling with openssl 0.9.7a works fine for me with latest
snapshot btw..)
------------------------------------------------------------------------
[2003-02-24 07:38:47] sysadmin at destination dot ca
Ok you want me to use a Productin server to be able to create the
condition of a random bug about the open_dir lookup.
I will try but will be hard ... since i can only reproduce the bug
where the httpd server don't reload correctly with killall -1 httpd on
a test server.
The other bug about the base_dir is random on a multiple virtualhost
setup ...
Anyway i will see want i can do about it.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22112
--
Edit this bug report at http://bugs.php.net/?id=22112&edit=1