Archive

Posts Tagged ‘mod_auth_mysql’

Solved:Cannot load /etc/httpd/modules/mod_auth_mysql.so into server: libmysqlclient.so.15: cannot open shared object file: No such file or directory

October 9th, 2010 2 comments

Today,when I use /etc/init.d/httpd restart to restart apache,it prints:
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/auth_mysql.conf: Cannot load /etc/httpd/modules/mod_auth_mysql.so into server: libmysqlclient.so.15: cannot open shared object file: No such file or directory
In general,this is because mysqlclient lib is absence for the needs of your apache mysql module.Here comes the solution:
wget -O /usr/lib/libmysqlclient.so.15 http://files.directadmin.com/services/es_5.0/libmysqlclient.so.15
After this,restart your apache server again.

PS:If your server is 64 bits,do the follow:
wget -O /usr/lib/libmysqlclient.so.15 http://files.directadmin.com/services/es_5.0_64/libmysqlclient.so.15