RE: conflicts between mod_perl and php4

2000-11-08 Thread George A. Fitch III


Hmmm, maybe they're fighting over the named pipe. Maybe
you can get around it with your DBI $dsn. Try specifying
the mysql server with the network path (as opposed to
nothing or 'localhost') so it uses a tcp connection
instead of the named pipe.  It'll be slower if it works,
but that's better than nothing.

Gaf

-Original Message-
From: Andreas Gietl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 07, 2000 4:05 PM
To: [EMAIL PROTECTED]
Subject: conflicts between mod_perl and php4


Hi,

i also posted this on the mysql-list and on the phpdb-list!

i've got the following configuration:
apache_1.3.12 with php and mod_perl statically linked. Php has
compiled-in mysql-support and mod_perl of course uses DBI.

When i use a mod_perl-script that uses the DBI-Interface i get a
segfault, because php somehow blocks the connection.

I also tried to compile php with with-mysql=/path/to/mysql and that did
not solve my problem.
The only thing that helped me was compiling php w/o mysql, but that is
an incomplete configuration for me.

Do you have any suggestions?

thx

andreas
--
andreas gietl
gietl internet services
fon +49 9402 2551
fax +49 9402 2604
mobile +49 171 60 70 008
[EMAIL PROTECTED]


# Das Handbuch sagt, das Programm benötige #
#  Windows 95 oder besser. Also habe ich   #
#  Linux installiert!  #





Re: conflicts between mod_perl and php4

2000-11-08 Thread martin langhoff

Andreas,

compile PHP *without* mysql support. Read the PHP docs, it's there...
don't worry, it'll still be able to use mysql connections...

Andreas Gietl wrote:
 i've got the following configuration:
 apache_1.3.12 with php and mod_perl statically linked. Php has
 compiled-in mysql-support and mod_perl of course uses DBI.



conflicts between mod_perl and php4

2000-11-07 Thread Andreas Gietl

Hi,

i also posted this on the mysql-list and on the phpdb-list!

i've got the following configuration:
apache_1.3.12 with php and mod_perl statically linked. Php has
compiled-in mysql-support and mod_perl of course uses DBI.

When i use a mod_perl-script that uses the DBI-Interface i get a
segfault, because php somehow blocks the connection.

I also tried to compile php with with-mysql=/path/to/mysql and that did
not solve my problem.
The only thing that helped me was compiling php w/o mysql, but that is
an incomplete configuration for me.

Do you have any suggestions?

thx

andreas
-- 
andreas gietl
gietl internet services
fon +49 9402 2551
fax +49 9402 2604
mobile +49 171 60 70 008
[EMAIL PROTECTED]


# Das Handbuch sagt, das Programm benötige #
#  Windows 95 oder besser. Also habe ich   #
#  Linux installiert!  #