PHP 4.0 Bug #7977: MySQL functions sometimes work, sometimes not
| From: | luksa at marand dot si | Date: | Sun, 26 Nov 2000 16:01:21 +0000 |
| Subject: | PHP 4.0 Bug #7977: MySQL functions sometimes work, sometimes not | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39140@lists.php.net to get a copy of this message | ||
From: luksa@marand.si
Operating system: Solaris 2.7
PHP version: 4.0.3pl1
PHP Bug Type: MySQL related
Bug description: MySQL functions sometimes work, sometimes not
After upgrading to php4 under solaris all of my php scripts started behaving strange. When calling
mysql commands, they sometimes execute ok and sometimes they don't. In php3 there were no
problems with the same scripts.
Mysql_query() for example sometimes returns "Lost connection to MySQL server during query"
and sometimes it works fine.
This is how i configured php:
./configure --with-pgsql=/usr/src/postgresql-7.0.2 --with-mysql=/usr/local/mysql
--with-apache=../apache_1.3.14 --enable-track-vars --enable-trans-sid
I found the bug was already mentioned under bug #4249, so I compiled php 4.0.1pl2 and the problem
seemed to dissapear.
It seems as though you fixed the problem in 4.0.1pl2, but it reappeared in 4.0.3pl1 (or somewhere in
between).
--
Edit Bug report at: http://bugs.php.net/?id=7977&edit=1