Re: Segmentation Fault
| From: | Ron Wills | Date: | Thu, 04 Jan 2001 06:26:10 +0000 |
| Subject: | Re: Segmentation Fault | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-1437@lists.php.net to get a copy of this message | ||
I thank you for the help. I finally found the problem. After running "gdb httpd" I
found where the segementation problem was, but a back trace showed that apache was
still load php3, even though I had taken it out of the http.conf file. Once I remove
the mod_php3 rpms everything worked perfectly :-)
Rasmus Lerdorf wrote:
> Use --with-mysql=/usr instead
>
> On Fri, 29 Dec 2000, Ron Wills wrote:
>
> > Sorry if I sound a little frustrated. I have posted this problem on this
> > and several other new groups and have gotten no replies, just found more people
> > with the same problem. If you can help, I'd be extremely grateful.
> > I am running Mandrake 7.0 with the standard Apache 1.3.9 rpm installed with
> > mod_so.c enabled. I modified the /etc/ld.so.conf to include the mysql libraries
> > as mentioned in the INSTALL file and ran ldconfig then compiled it as follows:
> >
> > $ ./configure --with-apxs --with-mysql --prefix=/usr
> > $ make
> > $ make install
> >
> > It detects, compiles and installs perfectly. I modified the http.conf to
> > include the new libphp4.so, but when I go to start httpd I just get a
> > segmentation fault. I examined the core dump with gdb and couldn't tell what
> > was causing the segv, it just gave me a memory address. I have tried a few
> > other configurations with the same results. If you want the output of
> > everything let me know and I'll send it as well.
> >
> > Josh Lokot wrote:
> >
> > > There is millions of people "out there" who are running PHP 4.0 as DSO on
> > > Apache 1.3. Perhaps you should provide your operating system details and
> > > version and someone with the same problem might be able to help.
> > >
> > > ----- Original Message -----
> > > From: "Ron Wills" <ron@itechads.com>
> > > To: <php-install@lists.php.net>
> > > Sent: Friday, December 29, 2000 6:22 AM
> > > Subject: Re: [PHP-INST] Segmentation Fault
> > >
> > > > Jayson Senter wrote:
> > > >
> > > > > I compiled the newest CVS and got no errors, but when I loaded the
> > > module
> > > > > into apache 1.3.9 it said "segmentation fault" and died.
> > > > >
> > > > > --
> > > > > PHP Install Mailing List (http://www.php.net/)
> > > > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> > > > > For additional commands, e-mail: php-install-help@lists.php.net
> > > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > > >
> > > > Is there anybody out there that has got PHP 4.0.x running as a DSO with
> > > > Apache 1.3.x?
> > > >
> > > >
> > > > --
> > > > PHP Install Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> > > > For additional commands, e-mail: php-install-help@lists.php.net
> > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > > >
> > > >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-install-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net