#22112 [Opn]: When Php compiled with support for openssl it broke the SIHUP of apache
| From: | sysadmin at destination dot ca | Date: | Fri, 21 Feb 2003 13:11:32 +0000 |
| Subject: | #22112 [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-33829@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: Open
Bug Type: Apache related
Operating System: Linux Redhat 6.2
PHP Version: 4.3.0
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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).
------------------------------------------------------------------------
[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