Re: [PHP4BETA] SegFault with php4, mod_perl and mod_ssl
[email protected] (Karl) Sun, 11 Jun 2000 18:12:12 -0400
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
Yes, I can't believe I forgot to mention that, I am using mysql, thanks for the info, I'm recompiling it as we speak. If anyone else is interested this is the configuration line I"m using this time around ./configure --with-mysql=/usr --with-apxs=/usr/sbin/apxs Hopefully I'll see if this works in just a few more minutes... -km Zeev Suraski wrote: > Are you using MySQL with mod_perl? If you are, you must feed PHP's > configure script with the --with-mysql=/path/to/mysql, and not rely on PHP > 4.0's built-in MySQL support. > > Zeev > > At 23:22 11/06/2000, Karl wrote: > >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 > > > > > >-- > >PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > >To unsubscribe, e-mail: [email protected] > >For additional commands, e-mail: [email protected] > >To contact the list administrators, e-mail: [email protected] > > -- > Zeev Suraski <[email protected]> http://www.zend.com/ > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > To contact the list administrators, e-mail: [email protected]