I'm in contact with a client in another state who needs to install PHP on a server 2003 machine. This PHP needs to access the Active Server Directory and the MSSQL database.

I'm assuming just downloading the current binaries wont be adequate as it will require LDAP, etc....

Any advice on how I can tell their server admin what do to? He's not to savy with PHP, but knows 2003 well enough to install it.

Do we need to compile PHP? What packages and where? etc...

Thank you for any help!

    Hi,

    the binary PHP distribution comes with everything you need. Download and install the zip package (not the installer version). The zip package comes with the extension and two dlls (libeay32.dll and ssleay32.dll). Install PHP as usual, copy the two dlls to system32 and enable the extension by removing the ; in front of the line

    ;extension=php_ldap.dll

    Then restart the web server (IIS or Apache, whichever you use).

    Thomas

      Write a Reply...