1828219 Members
1793 Online
109975 Solutions
New Discussion

CSWS PHP LDAP module

 
Chris Barratt
Frequent Advisor

CSWS PHP LDAP module

Do I need to do something else besides uncomment the ldap extension in php.ini to turn on the LDAP functions for PHP ?

I have done this, but still get an "undefined function" error trying to call ldap_connect.
5 REPLIES 5
Antoniov.
Honored Contributor

Re: CSWS PHP LDAP module

Chris,
because PHP is an extension of web server, do you added module into CSWS?
If web server doesn't manage a module (as LDAP) PHP can't use it.
It the same for other module such us anonymous ftp, web debugger, etc.

@Antoniov
Antonio Maria Vigliotti
Chris Barratt
Frequent Advisor

Re: CSWS PHP LDAP module

Thanks Antoniov.
I have CSWS 1.3 installed with the latest MOD_PHP (1.2 I think). Is this what you mean by having PHP as a module of CSWS ?
Or do I need to have an LDAP module in use with CSWS ? (I had assumed that the LDAP part of PHP would use the VMS LDAP API in its implementation).
Cheers,
Chris
Antoniov.
Honored Contributor

Re: CSWS PHP LDAP module

Chris,
I don't know CSWS so I can tell oly general directive.
On Apache, you have a http.conf file and into it you cand find the addmodule directive; so I think is the same for CSWS.

@Antoniov
Antonio Maria Vigliotti
Willem Grooters
Honored Contributor

Re: CSWS PHP LDAP module

I'm not sure, but it may be you need to aenable LDAP services on VMS as well.
Willem Grooters
OpenVMS Developer & System Manager
Chris Barratt
Frequent Advisor

Re: CSWS PHP LDAP module

Antoniov - yes, PHP is loaded as a module.

Willem - what is LDAP Services ? Do you mean the LDAP API ? This is available on the system as I have used it from a C program.