Bug #13816 Updated: Accessing a static HTML page crashes Apache
| From: | lupe at lupe-christoph dot de | Date: | Tue, 30 Oct 2001 10:26:32 +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-69317@lists.php.net to get a copy of this message | ||
ID: 13816
User updated by: lupe@lupe-christoph.de
Reported By: lupe@lupe-christoph.de
Old Status: Feedback
Status: Open
Bug Type: Reproducible crash
Operating System: Solaris 8 SPARC
PHP Version: 4.0.6
New Comment:
--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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2001-10-28 11:50:21] sniper@php.net
Try removing mod_perl and see if it works then.
--Jani
------------------------------------------------------------------------
[2001-10-27 06:03:04] sniper@php.net
Did you do 'apachectl stop ; apachectl start' ??
Restart won't work.
--Jani
------------------------------------------------------------------------
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