We sometimes encounter php_ldap.dll in PHP that cannot be loaded when the environment is just installed. I thought php_ldap.dll was loaded by default. later I learned that we need to manually configure the decompressed php. set winntphp. ini-dist... we sometimes encounter php_ldap.dll in PHP that cannot be loaded when the environment is just installed. I thought php_ldap.dll was loaded by default. later I learned that we need to manually configure the decompressed php.
Rename winntphp. ini-dist to php. ini and find it. The Windows Extensions item will use the following code:
; Extension = php_ldap.dll to extension = php_ldap.dll
The code is as follows:
Extension_dir = c: php4 extension = php_zlib.dll extension = extend extension = php_calendar.dll extension = extend extension = php_ftp.dll extension = extend (this item should not be added, no MSSQL7.0) extension = extend
Then copy the libeay32.dll and ssleay32.dll files from php5 to the following location:
C:/Windows/System/System32 C:/Windows/System C:/Windows
In this way, you can use php_ldap to check whether the php_ldap.dll file is installed, and open phpinfo () to check whether the installation is successful.
Generally, you only need to put it in the following directory and "The system cannot find php_ldap.dll" or "no php_ldap.dll problem" to solve it.
Of course, if your operating system is not installed on the C drive, you only need to replace C in the path with the drive letter for installing the operating system. if a common application cannot find the DLL file, you may only need to copy the downloaded DLL file to the directory where your started application is located.