By default, Windows PHP does not include PHP LDAP (php_ldap.dll
) as part of their configuration.
And when you check phpinfo()
, you will see the PHP ldap extension only under CURL.
To enable PHP LDAP (php_ldap.dll
) in Windows Azure, you must follow these steps:
- Download a non-thread safe V9 version of PHP from php.net (PHP 5.4.x) and locate the
php_ldap.dll
from theetc
folder (or download php_ldap.dll, php 5.4.34 PHP LDAP php_ldap.dll). - Create new folder call
bin
at the root of your Azure website.
- Upload the PHP LDAP file (php_ldap.dll) to the newly created bin folder.
- In Azure, add a new App Setting
- key:
PHP_EXTENSIONS
- value:
/home/bin/php_ldap.dll
- key:
- Click Save.