Re: [PHP-WIN] Re: ldaps protocol not enabled

[email protected] (Brian Gibson)
Newsgroups php.windows
Message-ID <[email protected]>
Hi, thanks for the suggestion.

I do have that extension enabled, here is a screen shot from my php.ini file

and here is a screen shot of enabled extensions from the output of 
phpinfo().

I can make LDAP connections from this server, just not LDAPS connections 
(and I've created the c:\OpenLDAP\sysconf\ldap.conf file and put 
"TLS_REQCERT never" inside which is what I had to do on my other PHP 
server to get past the SSL certificate validation issue I was experiencing).


I think my problem lies with this portion of the phpinfo() output. On 
this server the protocols section shows as follows...


Notice it doesn't list "ldaps". Here is the protocols section of the 
phpinfo() output from a server where I have LDAPS working


Thanks for any advice folks.
- Brian


On 5/11/2022 5:06 PM, 😉 Good Guy 😉 wrote:
> On 11/05/2022 21:32, Brian Gibson wrote:
>>
>>
>> Is ldaps not available in the 64 bit version? And if it is, how do I 
>> enable it?
>>
>
> in your php.ini file, search for this line:
>
>> ;extension=ldap
>
> Then remove the semicolon to enable this extension:
>
>> extension=ldap
>
> This should enable it AFTER you have RE-STARTED the IIS.
>
> Good luck.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.