Jump to content

PHP run in iis 6(windows server 2003) Ldap_connect(...) not working?????


Recommended Posts

Posted

Hello All,

 

I have windows server 2003 and I install IIS 6 on it and we need to use PHP script to connect to active directory but when we try ldap_connect(...) it is not working I try a lot of things to do but the same any help please??????

 

All the best,

IT Dubai College.

Posted

Dear acerf1,

 

We use php script for connection to AD.

And we have a lot of scripts.

And we need to go to internet and we need https not http in the internet for security and we try with apache server to do https but we don't success and we don't have time to rewrite the scripts in ASP do you have any solution for this problem???

 

Best,

IT Dubai College.

Posted

Hiya

 

ldap in iis6 and php works fine once you have

 

[php_LDAP]

extension=php_ldap.dll

 

at the end of your php.ini file. The php.ini file should be in c:\Program Files\PHP\ directory

 

Once done restart IIS services

 

Double check c:\Program Files\PHP\ext\ directory for the php_ldap.dll file, it should be there from the php installer.

 

Fingers crossed for you :)

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 47 When would you like EduGeek EDIT 2025 to be held?

    1. 1. Select a time period you can attend


      • I can make it in June\July
      • I can make it in August\Sept
      • Other time period. Comment below
      • Either time

×
×
  • Create New...