Any ideas if this is a MySQL or php or Apache bug? Regards, -bill paredes wrote:
Greetings!OSX 10.5.6; Apache 2.2.11 [using built in apr & apr-util]; Mysql 5.0.77; Php 5.2.9 [all 64 bit builds]I've been able to get Apache authentication / authorization to work as documented both with LDAP, MySQL & LDAP failing to MySQL. However, when I build mysql support into php, apache is no longer able to authenticate against mysql even though it is able to execute php/mysql scripts.Digging further I see apachelogs returning these error entries whenever I start apache with mysql support for php enabled:[error] (20014)Internal error: DBD: Can't connect to mysql [error] (20014)Internal error: DBD: Can't connect to mysql [error] (20014)Internal error: DBD: failed to initialise [error] (20014)Internal error: DBD: failed to initialise [error] (20014)Internal error: DBD: Can't connect to mysql [error] (20014)Internal error: DBD: failed to initialise [error] (20014)Internal error: DBD: Can't connect to mysql [error] (20014)Internal error: DBD: failed to initialise [error] (20014)Internal error: DBD: Can't connect to mysql [error] (20014)Internal error: DBD: failed to initialiseTo isolate this I then reconfigured php disabling all modules except for apxs ~ then apache - mysql authentication worked fine. Reconfiguring the remaining modules into php except for mysql support ~ apache - mysql authentication still works. But when I include --with mysql to php's configure I get the errors listed above and I'm no longer able to authenticate via mysql.Authentication via LDAP is not affected. It appears that php-mysql is clobbering apache/apr-util's mysql driver. Regards, -bill ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx