ID:               28061
 Updated by:       [EMAIL PROTECTED]
 Reported By:      michal at logix dot cz
-Status:           Open
+Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Linux, glibc 2.3.2
 PHP Version:      4CVS-2004-04-19 (stable)
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Please search the bug database before submitting a bug.


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

[2004-04-19 16:52:43] michal at logix dot cz

Description:
------------
Apache 2.0.49 and PHP 4.3.6 (as well as lates CVS snapshot).

When everything is up and running I remove one of the Apache's logfiles
(e.g. ~www/logs/access_log) and tell Apache to recreate it by calling
"killall -HUP httpd". 

Apache immediately crashes with the following in error_log:

[Mon Apr 19 15:26:08 2004] [notice] SIGHUP received.  Attempting to
restart
[Mon Apr 19 15:26:08 2004] [notice] seg fault or similar nasty error
detected in the parent process

When I disable loading of the PHP module in httpd.conf everything works
just fine. When I downgrade to PHP 4.3.4 it works as well.

Reproduce code:
---------------
Compile Apache 2.0.49 with 
./configure --prefix=/home/www --enable-http \
--enable-so --enable-usertrack

and PHP 4.3.6 with:
./configure --prefix=/home/www/php \
--with-apxs2=/home/www/bin/apxs

Install and run.

Make any request, remove ~www/logs/access_log and run 
'killall -HUP httpd'

Expected result:
----------------
access_log should be recreated

Actual result:
--------------
This appears in the error_log:

[Mon Apr 19 15:26:08 2004] [notice] SIGHUP received.  Attempting to
restart
[Mon Apr 19 15:26:08 2004] [notice] seg fault or similar nasty error
detected in the parent process


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


-- 
Edit this bug report at http://bugs.php.net/?id=28061&edit=1

Reply via email to