SegFault with php4, mod_perl and mod_ssl

[email protected] (Karl) Sun, 11 Jun 2000 17:22:46 -0400
Newsgroups php.version4
Message-ID <[email protected]>
Hello, I was very excited when php4 came out and immediatly went about
installing it.  Everything went well and all seemed to be working until
I tried to access one of the perl scripts on the site.  I've included a
couple of segments from the error log below.

First, this is how the server started up with php4 loaded, and you can
see immediatly afterwards I tried to access a perl page and got a
segfault, the whole server did not die, just the child that was serving
that page.

[Fri Jun  9 08:48:36 2000] [notice] Apache/1.3.9 (Unix)
Red-Hat-Secure/3.1 mod_perl/1.21 PHP/4.0.0 mod_ssl/2.4.10 OpenSSL/0.9.4
configured -- resuming normal operations
[Fri Jun  9 08:48:45 2000] [notice] child pid 26870 exit signal
Segmentation fault (11)

And just for reference, here is how the site was setup before, with php3
- everything works fine in this configuration

[Fri Jun  9 08:50:32 2000] [notice] Apache/1.3.9 (Unix)
Red-Hat-Secure/3.1 mod_perl/1.21 PHP/3.0.15 mod_ssl/2.4.10 OpenSSL/0.9.4
configured -- resuming normal operations

Here's some output showing the modules compiled in and the server
information.

# httpsd -l
Compiled-in modules:
  http_core.c
  mod_so.c
# httpsd -v
Server version: Apache/1.3.9 (Unix) Red-Hat-Secure/3.1
Server built:   Jan 13 2000 12:50:23

  As you can see we are running the redhat secure server.  I went to
their support site and found an update / bugfix, it didn't say anything
about my problem but I installed it anyway hoping it would have some
residual effect.  Unfortunately that didn't seem to help, but on startup
it complained that mod_perl wasn't using EAPI and could crash stuff, so
I recompiled mod_perl with -DEAPI and while it no longer complains about
it on startup it still misbehaves as before with php4.  If anyone has
any suggestions on what to try or if I can provide more info that would
help please let me know.   I've been trying to sell the merits of php to
the company I'm working for and while they seem impressed so far this is
a definate down side seeing as I was looking forward to the increased
performance, the opimizer, and some of the new built in stuff like
session management.

Thanks a lot,

-km