Re: Segfaults with mod_php + mod_perl + mysql + mysqli

[prev] [thread] [next] [Date index for 2004/11/16]

From: jonathan vanasco
Subject: Re: Segfaults with mod_php + mod_perl + mysql + mysqli
Date: 13:34 on 16 Nov 2004
On Nov 16, 2004, at 3:58 AM, S=F6nke Ruempler wrote:

> Hi,
>
> I asked the php-install and php-dev lists before - they didn't answer.
>
> I dunno if it's PHP and/or Perl related - so before I open a PHP Bug=20=

> Report,
> maybe here someone has an idea:
>
> <<
> Hi,
>
> Because I upgraded my MySQL server to 4.1.7, I tried to compile my=20
> mod_php
> with mysql + mysqli support. After some problems with double=20
> "-lmysqlclient"
> in Makefile (found solution in bugs.php.net), the new mod_php=20
> compiled. But
> after testing it with Apache, The webserver had segfaults and mod_perl=20=

> error
> messages:
>
> I think there is a conflict between the mysql extensions of PHP and=20
> Perl.
>
> Here is the Software:
> Linux 2.6.8.1 #1 SMP Mon Sep 20 13:59:23 CEST 2004 i686 i686 i386=20
> GNU/Linux
> Apache  2.0.52
> Perl 5.8.3
> mod_perl 1.99
> PHP 5.0.2
> MySQL 4.1.7 libraries RPM from mysql.com
>
> Any Ideas?
>

Yep.  You're right.  I've run into this a few times.

If I remember right, its a problem stemming from library collisions --=20=

and there should be a bunch of info on google somwhere.

I don't remember what i did to get things to work, but a quick google=20
search just suggested that it might work  if you compile php without=20
mysql built in -- I dont believe php needs the mysql stuff compiled in=20=

to use it, its just a speed issue.=


        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Segfaults with mod_php + mod_perl + mysql + mysqli
=?iso-8859-1?Q?S=F6nke_Ruempler?= 08:58 on 16 Nov 2004

Re: Segfaults with mod_php + mod_perl + mysql + mysqli
jonathan vanasco 13:34 on 16 Nov 2004

RE: Segfaults with mod_php + mod_perl + mysql + mysqli
=?iso-8859-1?Q?S=F6nke_Ruempler?= 08:15 on 17 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52