#22112 [Com]: When Php compiled with support for openssl it broke the SIHUP of apache
| From: | rmosher at on-the dot net | Date: | Fri, 21 Feb 2003 05:00:00 +0000 |
| Subject: | #22112 [Com]: 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-33778@lists.php.net to get a copy of this message | ||
ID: 22112
Comment by: rmosher at on-the dot net
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:
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).
Previous Comments:
------------------------------------------------------------------------
[2003-02-11 13:24:32] sysadmin at destination dot ca
I have done deeper test and i have found a work around.
That work around do not correct the problem at all.
The only time i can procude that problem si when
1. Server web is compiled with mod_ssl
2. Php is compipled with mod_ssl
3. One or more Virtualhost use the tag ErrorLog /path/to/log/file
You need the 3 conditions to see the bug.
So as a temporary solution i have disabled the ErrorLog tag in every
virtualhost.
If you find a more convenient way to do it i will appreciate.
Thanks and have a good day
------------------------------------------------------------------------
[2003-02-10 13:16:36] sysadmin at destination dot ca
Yes.
I have tried to compile them with a different library to be sure it was
not the case.
When i compile modssl and php with different openssl version apache
don't even start.
I can confirm you that modssl and php use the librairie installed in my
/usr/local/ssl directory and even from a fresh install.
I have also try the exact same setup on 3 other server and i have the
exact same problem.
Regards
------------------------------------------------------------------------
[2003-02-10 12:53:53] sniper@php.net
Are modssl and PHP linked with SAME ssl lib?
------------------------------------------------------------------------
[2003-02-07 13:28:26] sysadmin at destination dot ca
Hi,
My setup :
Apache/1.3.27 (Unix) PHP/4.3.0 mod_ssl/2.8.12 OpenSSL/0.9.6g
PHP compiled without openssl or anyother app that need openssl compiled
in php
apachectl startssl
killall -1 httpd - Apache reload configuration and all is fine
killall -1 httpd - Apache reload configuration and all is fine
killall -1 httpd - Apache reload configuration and all is fine
killall -1 httpd - Apache reload configuration and all is fine
killall -1 httpd - Apache reload configuration and all is fine
killall -1 httpd - Apache reload configuration and all is fine
etc ....
the httpd deamon reload is config and never die
PHP compiled with --with-openssl=/usr/local/ssl ( tested 4 time with
different delay between SIGHUP )
apachectl startssl
killall -1 httpd - Apache reload configuration and all is fine
killall -1 httpd - Apache reload configuration and all is fine
killall -1 httpd - Apache reload configuration and all is fine
killall -1 httpd - SIGHUP received. Attempting to restart -- and
apache never restart
PHP compiled with --with-openssl=/usr/local/ssl --with-imap
--with-imap-ssl=/usr/local/ssl
apachectl startssl
killall -1 httpd - SIGHUP received. Attempting to restart -- and
apache never restart
I can't even SIGHUP one time the http server
Ok i know that the bug is between apache-mod_ssl and php-openssl
But i would like to know how i can correct that problem.
Thanks in advance for any help.
Regards.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22112&edit=1