Re: [PHP-INST] Core dumps on PHP4 (Mandrake Linux) From: Mike Payson (mpayson <email protected>)
Date: 06/30/00

php3 wasn't compiled in (it was a seperate rpm), but removing it did fix the problem. The
loadmodule directive turns out to have been in a seperate config file. For future reference, you
just neet to delete the Include directive near the bottom of the httpd.conf file.

Thanks for the help!
Mike

Rasmus Lerdorf wrote:

> Yup. Type: httpd -l
>
> if it lists mod_php3.c there, you have it linked into your httpd
> statically. php3 and php4 cannot co-exist like that.
>
> -Rasmus
>
> On Thu, 29 Jun 2000, Mike Payson wrote:
>
> > PHP3 is installed & functioning, though I don't see a loadmodule directive. It was installed
> > when I installed Mandrake, & I never even really thought about it. Should I remove it?
> >
> > Rasmus Lerdorf wrote:
> >
> > > Do you have the PHP3 module linked into your httpd?
> > >
> > > On Thu, 29 Jun 2000, Mike Payson wrote:
> > >
> > > > # gdb /usr/sbin/httpd
> > > > GNU gdb 19991116
> > > > ...
> > > > (gdb) run -X
> > > > Starting program: /usr/sbin/httpd -X
> > > >
> > > > Program received signal SIGSEGV, Segmentation fault.
> > > > 0x40349faf in setenvif_module () at hashtable.c:117
> > > > 117 }
> > > > (gdb) bt
> > > > #0 0x40349faf in setenvif_module () at hashtable.c:117
> > > > #1 0x80bdbc8 in ?? () at hashtable.c:117
> > > > #2 0x403587af in setenvif_module () at hashtable.c:117
> > > > #3 0x40486ef7 in php3_init_config () from /usr/lib/apache/libphp3.so
> > > > #4 0x656c6966 in ?? ()
> > > > Cannot access memory at address 0x5f676663
> > > > (gdb)
> > > >
> > > > Rasmus Lerdorf wrote:
> > > >
> > > > > > Sorry I meant to mention that I'll need a bit more information on this part. Can you
> > > > > > tell me more specifically how to run this?
> > > > >
> > > > > compile using --enable-debug, then type:
> > > > >
> > > > > gdb /path/to/httpd
> > > > > > run -X
> > > > > > bt
> > > > >
> > > > > then send that output.
> > > > >
> > > > > -Rasmus
> > > >
> > > >
> >
> >

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe <email protected>
For additional commands, e-mail: php-install-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>