Bug #13816 Updated: Accessing a static HTML page crashes Apache
| From: | sander@php.net | Date: | Tue, 20 Nov 2001 16:02:45 +0000 |
| Subject: | Bug #13816 Updated: Accessing a static HTML page crashes Apache | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-71088@lists.php.net to get a copy of this message | ||
ID: 13816
Updated by: sander
Reported By: lupe@lupe-christoph.de
Old Status: Feedback
Status: Closed
Bug Type: Reproducible crash
Operating System: Solaris 8 SPARC
PHP Version: 4.0.6
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-10-30 17:59:55] sniper@php.net
Maybe in Solaris 6 / 7 but not necessarily with 8.
I think you need to compile both mod_perl and PHP as DSO's.
And always use that --enable-rule=SHARED_CORE
The largefile support should work but you could try
if everything else fails to turn it off.
--Jani
------------------------------------------------------------------------
[2001-10-30 05:26:32] lupe@lupe-christoph.de
--enable-rule=SHARED_CORE is quite bad, during the mod_perl
"make test" (without the PHP DSO):
/sw/WORK/apache_1.3.22/src/httpd: Unable to exec Shared Core Executable Program
`/opt/OCTOapache-1.3.22/libexec/libhttpd.ep'
I would have assumed that the default DSO handling on Solaris
should work. This is not a exotic platform for Apache.
I don't understand the comment about largefile support.
Should it or should it not be switched on in perl?
In any case, I found a workaround - statically linking
*both* mod_perl and PHP makes the crash go away. Seems that
the problem is DSO related.
I changed my PHP config from --with-apxs to --with-apache,
included --activate-module=src/modules/php4/libphp4.a
in the mod_perl configuration and that's all.
I'm willing to look into this more, but I'd need some
guidance where to look.
------------------------------------------------------------------------
[2001-10-29 23:25:40] sniper@php.net
Another thing if the previous one didn't help might
be that the fix for largefile support in Perl has
been reverted accidently. You could try disabling that.
--Jani
------------------------------------------------------------------------
[2001-10-29 23:14:50] sniper@php.net
Have you compiled Apache with: --enable-rule=SHARED_CORE
--Jani
------------------------------------------------------------------------
[2001-10-29 03:28:02] lupe@lupe-christoph.de
No crash when Apache is configured without mod_perl.
------------------------------------------------------------------------
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/?id=13816
Edit this bug report at http://bugs.php.net/?id=13816&edit=1