Home php教程 php手册 PHP中php_ldap.dll不能加载怎么办

PHP中php_ldap.dll不能加载怎么办

May 25, 2016 pm 04:43 PM
dll

我们有时刚安装好环境是会碰到PHP中php_ldap.dll不能加载,以前以为php_ldap.dll是默认加载的后来知道,解压的php是需要我们手动配置的.

将winntphp.ini-dist改名为php.ini,并找到;Windows Extensions项将如下代码:

;extension=php_ldap.dll 改成 extension=php_ldap.dll

如果有其它的可以,代码如下:

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 (这一项不要加,没有MSSQL7.0呀) 
extension =php_imap.dll
Copy after login

然后从php5中 把libeay32.dll和ssleay32.dll文件 复制到如下位置:

C:/Windows/System/System32 
C:/Windows/System 
C:/Windows
Copy after login

这样就可以使用了php_ldap了,查看是否安装上php_ldap.dll文件,打开phpinfo().就可以查看是否安装成功.

一般情况下您只需将其放入以下目录后"系统找不到php_ldap.dll"或者"没有php_ldap.dll的问题"就可以得到解决.

当然,如果您的操作系统没有安装到C盘,只需将路径中的C换作安装操作系统的盘符即可,如果是一般的应用程序找不到DLL文件,可能只需要将下载到的DLL文件拷贝到您启动的应用程序所在的目录.


Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1269
29
C# Tutorial
1248
24
Nvgpucomp64.dll causes Windows PC games to crash; Nvgpucomp64.dll causes Windows PC games to crash; Mar 26, 2024 am 08:20 AM

If Nvgpucomp64.dll is causing your game to crash frequently, the solutions provided here may help you. This problem is usually caused by outdated or corrupted graphics card drivers, corrupted game files, etc. Fixing these issues can help you deal with game crashes. The Nvgpucomp64.dll file is associated with NVIDIA graphics cards. When this file crashes, your game will crash too. This usually happens in games like LordsoftheFallen, LiesofP, RocketLeague, and ApexLegends. Nvgpucomp64.dll crashes games on Windows PC if N

Analysis of the problem that the CoreMessaging.dll file is missing in the Windows system directory Analysis of the problem that the CoreMessaging.dll file is missing in the Windows system directory Feb 11, 2024 pm 11:42 PM

Many users will be prompted that coremessaging.dll is missing when using their computers to play games. I believe that many users will immediately think that there is a problem with the software or the game. In fact, it is not. This is because the computer is missing the dll file. , users can download the coremessaging.dll file. Let this site carefully introduce to users the analysis of the problem that the CoreMessaging.dll file in the Windows system directory is missing and cannot be found. Analysis of the problem that the CoreMessaging.dll file in the Windows system directory is missing and cannot be found 1. Download the CoreMessaging.dll file 2.

How to solve the problem of missing libcurl.dll in win7 system? Win7 cannot find libcurl.dll file solution How to solve the problem of missing libcurl.dll in win7 system? Win7 cannot find libcurl.dll file solution Feb 12, 2024 am 08:15 AM

How to solve the problem of missing libcurl.dll in win7 system? Generally, dll files will cause some programs to be unable to be used normally. Faced with this problem, many users do not know how to solve it. In response to this situation, today the editor will share a detailed solution with the majority of users. I hope that win7 will be used today. Tutorials can help a large number of users, so let’s take a look. Solution to missing libcurl.dll in win7 system 1. Download the libcurl.dll file. 2. After downloading, put the file into the corresponding folder. The paths for 32-bit and 64-bit operating systems are as follows: For 32-bit Win7 operating system, copy the file directly to C:\Windows\SYSTEM32

What to do if Win7 prompts that Skidrow.dll is missing from the computer when starting the game? What to do if Win7 prompts that Skidrow.dll is missing from the computer when starting the game? Feb 15, 2024 pm 02:12 PM

Many users like to use computers to play games. Recently, some users of Win7 system have reported that when starting the game, they encountered a pop-up window prompting that the Skidrow.dll file is missing in the computer and cannot be started. The game cannot be loaded normally. What is going on? ? In response to this problem, this article brings a detailed solution to share with everyone, let’s take a look. What to do if Win7 prompts that Skidrow.dll is missing from the computer when starting the game? 1. Download the Skidrow.dll file. 2. Unzip the folder and copy the Skidrow.dll file to the system directory. 32-bit systems: C:\WINNT\System 324-bit systems: C:\Windows\SysWOW

What should I do if vcruntime140_1.dll cannot continue to execute code? What should I do if vcruntime140_1.dll cannot continue to execute code? Feb 11, 2024 pm 05:00 PM

vcruntime140_1.dll is a component of the Visual C runtime library. Many users have encountered the error that vcruntime140_1.dll cannot continue to execute code when using Microsoft Visual Studio for development. So what should users do if they encounter this problem? Let this site carefully introduce to users how to solve the problem that vcruntime140_1.dll cannot continue to execute code. Reasons why vcruntime140_1.dll is lost Uninstalling the VisualC runtime library: Misoperation or upgrading VisualC results in the runtime library being lost. Virus infection: Malware deletes or damages vc

What to do if loading dll fails What to do if loading dll fails Jan 25, 2024 pm 05:51 PM

Solution: 1. Re-download or obtain the DLL file from a reliable source; 2. Check the dependencies of the DLL file; 3. Make sure you are using the correct DLL version; 4. Register the DLL file; 5. Check the firewall and security software settings ; 6. Contact the software supplier or technical support.

What should I do if it prompts that mfc120u.dll is missing when opening the mindmanager software in win10 system? What should I do if it prompts that mfc120u.dll is missing when opening the mindmanager software in win10 system? Feb 13, 2024 am 09:36 AM

When we use win10 system to open the mindmanager software, it prompts "mfc120u.dll is missing from the computer". Why? In fact, it is because the computer has lost the mfc120u.dll file. Users can just download the mfc120u.dll file again. Let this site carefully introduce to users the solution to the problem that mfc120u.dll is missing when opening the mindmanager software in win10 system. What should I do if the message mfc120u.dll is lost when opening the mindmanager software in Win10 system? Method 1: 1. Copy mfc120 from another computer with the same version and bit number as your Win10

How does Master Lu repair dll files? Master Lu's one-click tutorial on repairing missing dlls How does Master Lu repair dll files? Master Lu's one-click tutorial on repairing missing dlls Mar 14, 2024 pm 07:31 PM

Master Lu is a hardware detection tool used by many users. Detailed hardware information can be viewed through the software, but it has many functions that can repair multiple drivers. Many people want to know whether Master Lu can repair dll files? How to fix it? Regarding this problem, the editor of this software tutorial will explain it to you. Friends who want to know more are welcome to check it out. Tutorial on Master Lu’s one-click repair of all missing DLLs: 1. First open Master Lu and enter the main interface. 2. Next, click the game library in the upper right corner, and then click Repair in the upper right corner. 3. The last step is to repair the missing dll file.

See all articles