ID:               22112
 User updated by:  sysadmin at destination dot ca
 Reported By:      sysadmin at destination dot ca
 Status:           Open
 Bug Type:         Apache related
 Operating System: Linux Redhat 6.2
 PHP Version:      4.3.0
 New Comment:

Hi,

There is the test i have run today.

TEST 1 :
------------------------------------------------------------
Apache 1.3.27
Mod_ssl 2.8.12
Openssl 0.9.6i

PHP version tried :
php4.3.1 :
[Wed Feb 26 08:28:52 2003] [notice] SIGHUP received.  Attempting to
restart - but never restart
php4-200302261230
[Wed Feb 26 08:54:42 2003] [notice] SIGHUP received.  Attempting to
restart - but never restart
php4-STABLE-200302261230
[Wed Feb 26 08:59:32 2003] [notice] SIGHUP received.  Attempting to
restart - but never restart

So i confirm you that the latest stable release don't correct that
problem.

Regars
Configuration file for php:

./configure \
--with-mysql=/usr/local/mysql \
--enable-calendar \
--enable-gettext \
--enable-ftp \
--enable-bcmath \
--enable-trans-sid \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--enable-debug \
--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
------------------------------------------------------------

TEST 2 :
------------------------------------------------------------


------------------------------------------------------------


Previous Comments:
------------------------------------------------------------------------

[2003-02-24 09:24:12] sysadmin at destination dot ca

no i have say i will try tomorrow with the lastest cvs snapshot ...
with the latest cvs snapsot of friday it was not working.

I will keep you inform.

Regards

------------------------------------------------------------------------

[2003-02-24 08:43:05] [EMAIL PROTECTED]

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)


------------------------------------------------------------------------

[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

------------------------------------------------------------------------

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

Reply via email to