Page 1 of 1

Enable PHP Extension (LDAP Auth.)

Posted: Sat Sep 06, 2008 4:08 pm
by Ridvan
Hi There,

I installed phpbb3 and i would like to make it work with "LDAP Authentication" but i got the error msg: "LDAP Extension Not Available."

How can enable LDAP Extension or what should i do :(

P.S i wrote on PHPBB, but moderator answered me that this is beyond PHPBB and we can not help :(

Regards
RIdvan

Re: Enable PHP Extension (LDAP Auth.)

Posted: Sat Sep 06, 2008 5:10 pm
by tamamk
Generally speaking, you need to recompile PHP with LDAP and unset the LDAP extension in your PHP ini file.

Specifically, if you would post what systems are you on, there are already made packages that you might find very useful and easy to install with a simple command line. That command line differs from Ubuntu than Solaris than Fedora or other systems. If you have Ubuntu, check the apt-get packages. If you have Solaris, check pkg-get command. Fedora, check rpms.

Re: Enable PHP Extension (LDAP Auth.)

Posted: Sat Sep 06, 2008 5:23 pm
by Ridvan
tamamk wrote:Generally speaking, you need to recompile PHP with LDAP and unset the LDAP extension in your PHP ini file.

I Read it somewhere that in php.ini ldap extension just need to be un-commented, and it will work, i did that but it does not work,

Specifically, if you would post what systems are you on, there are already made packages that you might find very useful and easy to install with a simple command line. That command line differs from Ubuntu than Solaris than Fedora or other systems. If you have Ubuntu, check the apt-get packages. If you have Solaris, check pkg-get command. Fedora, check rpms.
I have Win 2003/ and installed on it AppServ.

Any suggestion would be highly appriciated,

Regards,
Ridvan

Re: Enable PHP Extension (LDAP Auth.)

Posted: Sun Sep 07, 2008 12:40 am
by tamamk
err, me and Windows haven't been so friendly to let me get to know it and it to get to know me...sure one of the folks out there have the experience in installing PHP on Windows. If I had to deal with Windows, I would just get the WAMP Server. They have a bunch of guides on how to enable just about anything for PHP.

Best of luck,