Bug #1118 Updated: MySql fails to work with mod_auth_mysql

From: Date: Fri, 05 Feb 1999 10:33:30 +0000
Subject: Bug #1118 Updated: MySql fails to work with mod_auth_mysql
Groups: php.dev 
Request: Send a blank email to php-dev+get-3905@lists.php.net to get a copy of this message
ID: 1118 User Update by: mark-junk@domino.com Status: Closed Bug Type: MySQL related Description: MySql fails to work with mod_auth_mysql $conn = mysql_connect(); mysql_select_db("test"); // this database exists and can be opened using mysql interactively $result = mysql_query("select * from mysql_auth"); // this query works interactively echo "result=$result<BR>"; // echoes "result=<BR>" echo(mysql_error()); // echoes nothing while($row = mysql_fetch_object($result)) { // gives a warning : 0 is not a MySQL result index in /export/htdocs/mark/extranet/users.php3 on line 15 *** THIS IS NOW RESOLVED: The PHP-MySql conflicts with the mod_auth_mysql module in apache - if you compile one or both of them as shared objects (i.e. DLLs), then this fixes the problem. I'm running PHP as a shared object now and it all works. Mark Full Bug description available at: http://ca.php.net/bugs.php3?id=1118 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3905) next »