ID: 11494 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: MySQL related Operating system: FreeBSD 4.3 RELEASE PHP Version: 4.0.5 Description: mysql_db_query causes apache to "exit signal Segmentation fault (11)" 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 ? Previous Comments: --------------------------------------------------------------------------- [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"); ?> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=11494 -- 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]