> No, I don't think so. It shows you have both compiled-in and DSO loading.
Yup, I thought one method wasn't working so I switched to the other. Turns out I got both working. > A phpinfo() will show where your php.ini should be. Its an option that > you compiled PHP with. The phpinfo call was one of the tests causing the segmentation fault. I read through the php bugs list and it turns out this was a known bug in 4.2.3 and it was fixed in 4.3.0-dev. I went to php.net and found that 4.3.0 was released over the break. Installing PHP 4.3.0 worked wonderfully. Thanks for your help. - damon ----- Original Message ----- From: "Chris Hewitt" <[EMAIL PROTECTED]> To: "Damon" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 7:32 AM Subject: Re: [PHP-INST] Segmentation Fault in child (poor child!) > Damon wrote: > > >I'm using Redhat 7.1. I wanted to install Slash, which required recompiling > >Apache through the mod_perl install. I told apache to include mod_so so I > >could compile a DSO version of php. > > > As a DSO you need the AddModule and LoadModule lines in httpd.conf, and > "httpd -l" needs to show mod_so.c..... > > > > > > >The mod_php4 appears to be loading: > > > ># /usr/local/apache/bin/httpd -l > >Compiled-in modules: > > http_core.c > > ... > > mod_perl.c > > mod_php4.c > > > ....but you seem to have compiled it into Apache itself (otherwise > mod_php4.c would not be shown). > > > > >[Mon Dec 30 16:33:10 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3 PHP/4.2.3 > > > >should there be two "PHP/4.2.3"'s in that line? If I take out the > > > No, I don't think so. It shows you have both compiled-in and DSO loading. > > > > >LoadModule directive for PHP (there's only one in httpd.conf) then I get > > > >[Mon Dec 30 16:46:49 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3 > > > That looks better. > > I'd suggest deciding on one or the other, trying it then re-posting > results here. I don' know these particular versions but they should be OK. > > A phpinfo() will show where your php.ini should be. Its an option that > you compiled PHP with. > > HTH > Chris > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php