The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to install mod_auth_mysql?

Discussion in 'General Discussion' started by anton_latvia, Sep 16, 2004.

  1. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    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?..
     
  2. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, 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.
     
  3. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
  4. EWD

    EWD Well-Known Member
    PartnerNOC

    Joined:
    Aug 19, 2003
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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!
     
  5. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    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.
     
Loading...

Share This Page