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

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


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

[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.

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

[2003-02-23 04:51:53] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


And also give us the complete configure line for PHP and modssl..


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

[2003-02-21 07:11:31] sysadmin at destination dot ca

Have you try my workaround ?

That workaround have also correct the problem of apache serving empty
php document.

There is a huge bug presently in php related to the apache path
variable, lot of ticket open for this one and it look like no one at
php is interesting to solve that one.

As with openssl 0.9.7a you can't compile php 4.3.1 or latest snapshot.

I was proud to use php for a long time, now it more of a headhache for
me because as it grow i have more problem uprgrading ... they have to
keep the base the same, we can't manage to have more and more complex
configuration when not needed and we can't ask the people we host to
change there web site every time the PHP TEAM remove or alter the use
of a function in PHP.

I wish they will resolve all this problem soon with 4.3.2.

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

[2003-02-20 22:59:59] rmosher at on-the dot net

The ErrorLog enter has nothing to do with the problem for me.  I'm
using PHP 4.3.1 (same problem with 4.2.3 btw); otherwise the setup is
the same (same Apache et al).

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

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