Hi,
I'm having weird errors right now, running MySQL queries from PHP as
an Apache module. Sometimes (in a seemingly random way) some queries fail
and mysql_error() displays Commands out of sync; You can't run this
command now. I would say it seems to happen when different queries are
launched
Just replying to myself... After replacing mysql_pconnect() with
mysql_connect(), the problems seems gone so far. So chances are
it is a bug on the PHP side.
Regards
Antoine.
Hi,
I'm having weird errors right now, running MySQL queries from PHP as an
Apache module. Sometimes (in a
: Antoine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 18, 2002 5:24 PM
Subject: MySQL + PHP : Commands out of sync; You can't run this command
now
Hi,
I'm having weird errors right now, running MySQL queries from PHP as
an Apache module. Sometimes (in a seemingly random way
Comment out the body of the _restore_connection_defaults in php_mysql.c
file in PHP. Recompile, etc. Or dont use persistent connections. Should
be fixed in PHP 4.3.
See http://bugs.php.net/?id=19529 for more info.
Sincerely,
Steven Roussey
http://Network54.com/