ID: 11494
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: MySQL related
Operating system: 
PHP Version: 4.0.5
Assigned To: 
Comments:

Without the GDB backtrace I can't be sure if it was
the same bug. Does it work with the RC3 or not?
Reopen if not.


Previous Comments:
---------------------------------------------------------------------------

[2001-06-15 03:16:52] [EMAIL PROTECTED]
I forgot to mention that this happens *only* when connection to MySQL *IS* 
'persistent', i.e.  mysql_db_query makes this sqgfault to happen after

mysql_pconnect()

Using 

mysql_connect()

is OK ! No segfault ! Zero problem !

p.s. I thought this is a MySQL related problem ? Why PostgreSQL  was involved here ? 

---------------------------------------------------------------------------

[2001-06-14 17:14:58] [EMAIL PROTECTED]
Reopen if this happens with the 4.0.6.


---------------------------------------------------------------------------

[2001-06-14 17:14:36] [EMAIL PROTECTED]
I guess this is the PostGreSQL bug that is fixed in
CVS and in PHP 4.0.6RCx:

http://www.php.net/~andi/php-4.0.6RC3.tar.gz

(if above url doesn't work, change the RC3 to RC4)

--Jani


---------------------------------------------------------------------------

[2001-06-14 15:49:16] [EMAIL PROTECTED]
Apache 1.3.20
PHP 4.0.5
mysql 3.23.38
pgsql 7.1.2

"--with-apxs=/usr/local/sbin/apxs" 
"--with-config-file-path=/usr/local/etc" 
"--with-system-regex" 
"--enable-debug" 
"--enable-track-vars" 
"--without-gd" 
"--disable-pear" 
"--with-zlib" 
"--with-imap=/usr/local" 
"--with-mysql=/usr/local" 
"--with-pgsql=/usr/local" 
"--with-xml=/usr/local" 
"--enable-ftp" 
"--with-gettext=/usr/local" 
"--enable-sockets" 
"--enable-sysvsem" 
"--enable-sysvshm" 
"--prefix=/usr/local" 
"i386--freebsd4.3" 



<?php
$id = mysql_pconnect("myhost","mydatabase","mypass");
$result = mysql_db_query("SELECT blah-blah-bla");
?>


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11494&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to