+ Post New Thread
Results 1 to 6 of 6
Windows Server 2000/2003 Thread, PHP run in iis 6(windows server 2003) Ldap_connect(...) not working????? in Technical; Hello All, I have windows server 2003 and I install IIS 6 on it and we need to use PHP ...
  1. #1
    itdc's Avatar
    Join Date
    Feb 2011
    Posts
    14
    Thank Post
    8
    Thanked 0 Times in 0 Posts
    Rep Power
    0

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

    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.

  2. #2

    Join Date
    Jun 2007
    Posts
    11
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    what are you using it for

  3. #3
    itdc's Avatar
    Join Date
    Feb 2011
    Posts
    14
    Thank Post
    8
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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.

  4. #4
    AshEarl's Avatar
    Join Date
    Apr 2010
    Location
    South Lincolnshire,UK
    Posts
    25
    Thank Post
    2
    Thanked 5 Times in 5 Posts
    Rep Power
    0
    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

  5. Thanks to AshEarl from:

    itdc (20th May 2011)

  6. #5
    AshEarl's Avatar
    Join Date
    Apr 2010
    Location
    South Lincolnshire,UK
    Posts
    25
    Thank Post
    2
    Thanked 5 Times in 5 Posts
    Rep Power
    0
    Also, for a great LDAP class that you can use for all LDAP connections, visit: adLDAP - LDAP Authentication with PHP for Active Directory

  7. #6
    itdc's Avatar
    Join Date
    Feb 2011
    Posts
    14
    Thank Post
    8
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Dear AshEarl,

    I'll try thanks.

    Best,
    IT Dubai College



SHARE:
+ Post New Thread

Similar Threads

  1. Installing PHP onto Windows 2003
    By 01hanstu in forum Windows Server 2000/2003
    Replies: 12
    Last Post: 4th September 2010, 07:47 PM
  2. Can't connect to FTP server (Server 2003, IIS) Updated 8.6.10
    By networkingNut in forum Windows Server 2000/2003
    Replies: 0
    Last Post: 7th June 2010, 08:32 PM
  3. Replies: 7
    Last Post: 30th April 2010, 05:35 PM
  4. PHP to work with IIS 6 in 64bit Windows Server 2003
    By MattGibson in forum Windows Server 2000/2003
    Replies: 8
    Last Post: 31st July 2009, 12:50 PM
  5. SiteAtSchool / IIS / PHP / MySQL / Server 2003
    By OutToLunch in forum Windows
    Replies: 4
    Last Post: 5th February 2007, 03:19 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •