PHP CURL zlib.dll is missing

Today, we tried to install PHP on IIS 7. Everything is working fine. But CURL can’t use. So, I tried to enable the php_curl.dll in php.ini. However, It didn’t show on phpinfo() .

Open the C:\php\ from terminal

C:\php\> php.exe -v

It was showing zlib.dll is missing

Download the zlib.dll from zlib.net (compiled DLL). Extract the zip file and it include zlib1.dll.

Rename zlib1.dll to zlib.dll . Move zlib.dll to C:\php\;

C:\php\> php.exe -v

Working fine and no error.

So, search curl in phpinfo().

Perfect. It’s showing now.

comments powered byDisqus