#22112 [Csd->Opn]: When Php compiled with support for openssl it broke the SIHUP of apache
| From: | sysadmin at destination dot ca | Date: | Mon, 24 Feb 2003 14:34:53 +0000 |
| Subject: | #22112 [Csd->Opn]: When Php compiled with support for openssl it broke the SIHUP of apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34090@lists.php.net to get a copy of this message | ||
ID: 22112
User updated by: sysadmin at destination dot ca
Reported By: sysadmin at destination dot ca
-Status: Closed
+Status: Open
Bug Type: Apache related
Operating System: Linux Redhat 6.2
PHP Version: 4.3.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2003-02-24 08:28:05] sniper@php.net
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] sniper@php.net
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] sniper@php.net
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..
------------------------------------------------------------------------
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