guysmiley

Member
Sep 6, 2008
19
0
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
 
Last edited:

thewebhosting

Well-Known Member
May 9, 2008
1,201
1
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
 

guysmiley

Member
Sep 6, 2008
19
0
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!
 
Last edited:

guysmiley

Member
Sep 6, 2008
19
0
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?
 

organica

Member
Nov 10, 2005
6
0
151
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?
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?
 
Last edited: