How do I enable the PHP HTTP PECL extension on Windows?

Amir Khawaja picture Amir Khawaja · Jan 20, 2010 · Viewed 18.9k times · Source

I have an installation of XAMPP version 1.7.3 on Windows 7 x64. I want to enable the PHP HTTP extension. How do I go about doing so? That is, where to I get the DLL, register it, etc. Thanks in advance.

Answer

silent picture silent · Jan 20, 2010

First, download the PECL module from the php website.

Then unzipp it and copy the file php_http.dll in your PHP extension folder. Then edit your php.ini file (c:\WINDOWS\php.ini) and activate the module :

extension=php_http.dll