What to do when php_ldap.dll in PHP can't load

Source: Internet
Author: User
Tags ini

Renamed Winntphp.ini-dist as PHP.ini, and found; Windows Extensions items will

The code is as follows Copy Code

; Extension=php_ldap.dll

Change into

Extension=php_ldap.dll

If there's anything else you can do,

The code is as follows Copy Code

Extension_dir = C:PHP4
Extension=php_zlib.dll
Extension =php_ldap.dll
Extension =php_zlib.dll
Extension =php_calendar.dll
Extension =php_exif.dll
Extension =php_ftp.dll
Extension =php_mssql70.dll (don't add this one, no MSSQL7.0)
Extension =php_imap.dll

Then copy the Libeay32.dll and Ssleay32.dll files from the php5 to the

The code is as follows Copy Code

C:/windows/system/system32
C:/windows/system
C:/windows

This allows you to use the PHP_LDAP to see if the Php_ldap.dll file is installed and open phpinfo (). You can see if the installation is successful!

In general, you can solve this problem simply by putting it in the following directory, "The system cannot find Php_ldap.dll" or "No Php_ldap.dll problems":


Of course, if your operating system is not installed to C, simply change the C in the path to the letter that installs the operating system. If a generic application cannot find a DLL file, you may only need to copy the downloaded DLL file to the directory where the application you started is located.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.