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!

LDAP on RHEL5 Cpanel11

Discussion in 'General Discussion' started by guysmiley, Jan 7, 2009.

  1. guysmiley

    guysmiley Member

    Joined:
    Sep 6, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    LDAP on RHEL5 Cpanel11 - more questions!!!

    Greetings,

    I've used EasyApache to compile with LDAP support but require clarification on a few items:

    1. There are two options in EA that relate to LDAP (LDAP and LDAP authenz). Both are checked. Does this compile/turn on the modules/extensions in Apache/PHP?

    2. Where do I find the apache config file & where do I find the php.ini file? (usr/local...???).

    Many thanks!
    gs
     
    #1 guysmiley, Jan 7, 2009
    Last edited: Jan 8, 2009
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    1. Yes, it will compile/turn on the modules/extensions in Apache/PHP.
    2. Apache config file location:- /usr/local/apache/httpd/httpd.conf
    PHP config file location: /usr/local/bin/php.ini
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. guysmiley

    guysmiley Member

    Joined:
    Sep 6, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    Great, thanks.

    Is there a particular port that ldap uses that needs to be open?

    Thanks!
     
  4. guysmiley

    guysmiley Member

    Joined:
    Sep 6, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    UPDATE:

    1. In our /usr/local/apache/ directory, there is no httpd folder. There is a /conf but the httpd.conf in the /conf folder only contains a list of virtual hosts and does not list the enabled apache modules.

    2. The /usr/local/bin directory does not contain a php.ini file either. There is a php* and a php-config* and a phpsize*

    Where are these files??? Help!
     
    #4 guysmiley, Jan 8, 2009
    Last edited: Jan 8, 2009
  5. guysmiley

    guysmiley Member

    Joined:
    Sep 6, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    Update #2:

    I examined:
    /usr/local/bin/php.ini
    /usr/local/apache/conf/httpd.conf

    Neither file has LDAP enabled though LDAP is checked off in EasyApache.

    Why is this?
     
  6. organica

    organica Member

    Joined:
    Nov 10, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    Yes, I have the same problem on RHEL5. I used EasyApache with both LDAP options checked. No trace of LDAP is in phpinfo() and I can't get any of our php scripts to authenticate through LDAP.

    EDIT (SOLVED): I was compiling Apache 2.0 instead of the correct Apache 2.2.

    Really, what is this problem?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #6 organica, Jul 20, 2009
    Last edited: Jul 20, 2009

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