Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    358
    Likes Received:
    4
    Trophy Points:
    168
    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?..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. GOT

    GOT Get Proactive!
    PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    912
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    655
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Canada
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. EWD

    EWD Well-Known Member
    PartnerNOC

    Joined:
    Aug 19, 2003
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    166
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice