ID: 13816
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Reproducible crash
Operating System: Solaris 8 SPARC
PHP Version: 4.0.6
New Comment:

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



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

[2001-10-30 05:26:32] [EMAIL PROTECTED]

--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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Have you compiled Apache with: --enable-rule=SHARED_CORE

--Jani

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

[2001-10-29 03:28:02] [EMAIL PROTECTED]

No crash when Apache is configured without mod_perl.

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

[2001-10-28 11:50:21] [EMAIL PROTECTED]

Try removing mod_perl and see if it works then.

--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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to