LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Enable LDAP in PHP for Mediawiki - not working in RHEL (http://www.linuxquestions.org/questions/red-hat-31/enable-ldap-in-php-for-mediawiki-not-working-in-rhel-944958/)

khandu 05-14-2012 06:22 PM

Enable LDAP in PHP for Mediawiki - not working in RHEL
 
Trying to install mediawiki on RHEL5

Following guide here http://www.mediawiki.org/wiki/Manual..._Red_Hat_Linux

Mediawiki installs fine. Now trying to install its extension Ldapauthentication

http://www.mediawiki.org/wiki/Extens...Authentication

Now when I run the plugin (login @ mediawiki) .. I keep getting the error

Quote:

It looks like you are missing LDAP support; please ensure you have either compiled LDAP support in, or have enabled the module. If the authentication is working for you, the plugin isn't properly detecting the LDAP module, and you can safely ignore this message.
Now when I try to see if PHP has ldap loaded I get this

Code:

$ php -m | grep ldap
ldap

Also

Code:

$ cat /etc/php.d/ldap.ini
; Enable ldap extension module
extension=ldap.so

Code:

php -v
PHP 5.1.6 (cli) (built: May  3 2012 17:38:00)

I am new to PHP and stuff.. what is going wrong here? How to fix this ?

khandu 05-14-2012 07:11 PM

had to restart httpd to get the php to refresh its config


All times are GMT -5. The time now is 03:50 AM.