anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
432
47
178
Latvia
cPanel Access Level
Root Administrator
Hi,
I am trying to install mod_auth_mysql on my box. But rpm -Uvh says "webserver is needed by mod_auth_mysql-1.11-1". So I guess there should be some CPanel's script to do this. May be someone could share his/her ideas, please?..
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,774
328
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
Without having looked at the package, best bet it to compile from source using apxs.

I know this is vague, but I do not have time to read and write a howto for it right now.
 

EWD

Well-Known Member
PartnerNOC
Aug 19, 2003
165
0
166
NY
Hey ramprage,
Thanks for the tutorials ;)

I tried following your mod_auth_mysql and everything seemed to go ok.
However, when I view a phpinfo page there is no reference to it.

Any ideas what to look for?

I am running cpanel with
php 4.3.11
phpsuexec

Thanks for your time!
 

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
EWD said:
Hey ramprage,
Thanks for the tutorials ;)

I tried following your mod_auth_mysql and everything seemed to go ok.
However, when I view a phpinfo page there is no reference to it.

Any ideas what to look for?

I am running cpanel with
php 4.3.11
phpsuexec

Thanks for your time!
mod_auth_mysql works in conjunction with HTTP authentication (or so I guess as its an Apache module, and from looking at the docs for it).

With phpsuexec enabled, you can't use HTTP authentication in PHP - this means that mod_auth_mysql wouldn't be of any use to you anyway.

As to why it doesn't show in the output of phpinfo() - you need to be running PHP in CLI mode (as an Apache module) for any PHP-related Apache modules to have any effect on PHP.