Menu

#1 Invalid command 'Auth_MySQL'

open
nobody
5
2012-05-24
2012-05-24
Anonymous
No

hi,
i tried to make this work but i ve got this error: Invalid command 'Auth_MySQL'
here is my process:
httpd 2.2

mv mod_auth_mysql.c mod_auth_mysql.c.bak && cat mod_auth_mysql.c.bak | sed 's/APR_XtOffsetOf/APR_OFFSETOF/g' | sed 's/ap_pstrcat/apr_pstrcat/g' >mod_auth_mysql.c

apxs -I/usr/include/mysql/ -c -lmysqlclient -lm -lz mod_auth_mysql.c

apxs -i mod_auth_mysql.la

LoadModule mysql_auth_module modules/mod_auth_mysql.so

i can see the module loaded on phpinfo:
apache2handler:
mod_userdir mod_alias mod_rewrite mod_so mod_php5 mod_auth_mysql

thanks for any help

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.