How to get php_http extension working on PHP version 5.4 with Windows?
NickName:Jenko Ask DateTime:2012-08-02T20:24:27

How to get php_http extension working on PHP version 5.4 with Windows?

Anyone know how I can get the php_http extension working on php 5.4.5 on windows?

I am trying to upgrade to PHP 5.4.5 on my windows machine (running off IIS). The project I am working on has a dependency of the php_http extension (http://www.php.net/manual/en/book.http.php)

Unfortunately there doesn't appear to be a downloadable DLL file anywhere for a 5.4 compatible version of this extension (see http://php.net/manual/en/http.install.php). Installing via pecl doesn't seem to work for me either, I end up getting this: https://bugs.php.net/bug.php?id=58531

Does anyone know where I can get a DLL for this, or can provide me with other options for getting this extension set up?

Note: 5.3 works fine using the DLL linked to here: http://www.php.net/manual/en/http.install.php#109498

Copyright Notice:Content Author:「Jenko」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/11777361/how-to-get-php-http-extension-working-on-php-version-5-4-with-windows

Answers
Pixievolt No. 1 2014-01-09T01:54:54

Internet posts from August 2012, I bear greetings from THE FUTURE.\n\nIn the time since this question was asked and answered, a new Windows PECL extension directory appeared. It's more up-to-date than Pierre's, but it only has 2.x releases of pecl_http; anything written for 1.x will need a rewrite (see the new docs). Nonetheless, the new directory looks like your best bet for PHP 5.4 and beyond.",


DaveRandom 2012-08-02T12:34:53

Pierre Joye provides Windows builds of various PECL extensions for new versions. If it's not there (which at the time of writing it isn't) you have no option but to get the source (here) and build it yourself.\n\nSorry.\n\nBeing that cURL is much more readily available, and can do pretty much everything (if not actually everything) that the HTTP extension can do, I would suggest that you look at migrating your project towards using cURL instead.",


More about “How to get php_http extension working on PHP version 5.4 with Windows?” related questions

How to get php_http extension working on PHP version 5.4 with Windows?

Anyone know how I can get the php_http extension working on php 5.4.5 on windows? I am trying to upgrade to PHP 5.4.5 on my windows machine (running off IIS). The project I am working on has a

Show Detail

Error with php_http: the program can't start because php_propro.dll is missing from your computer

I'm trying to install php_http on Windows. My Config is: PHP Version => 5.3.13 Build Date => May 14 2012 02:46:11 Compiler => MSVC9 (Visual C++

Show Detail

Imagick PHP 5.4 extension does not work with relative paths. (windows)

I'm trying to install imagick PHP extension on windows. It was working on PHP 5.2, PHP 5.3 but I have problems with PHP 5.4. Imagick version: ImageMagick-6.7.6-3-Q16-windows-dll. Module is working...

Show Detail

PHP5.4 add extension error

I am having a problem adding an extention to PHP 5.4 I am running XAMPP 3.2.1 on Windows XP with PHP 5.4. Everything runs as expected. But when I copy the php_dbase.dll to xampp/php/ext and and

Show Detail

sqlsrv running on php 5.4

I've just upgraded from PHP 5.3.10 to 5.4, now I get the following when trying to initialise php on the command line in windows: C:\php5.4>php -v PHP Warning: PHP Startup: sqlsrv: Unable to

Show Detail

PHP Fileinfo extension at php.ini does not exist, PHP 5.4

I searched alot on how to enable php_fileinfo extension, but here in my php.ini file and it doesn't contain any php_fileinfo thing, I'm using PHP 5.4 on a dedicated windows server. Should I add a

Show Detail

Where I can find php_sqlite.dll binary for Windows and PHP 5.4?

I need to work with a legacy SQLite 2 database in PHP 5.4 on Windows x64 using the PDO extension. While the php_sqlite.dll is available for PHP 5.3, it has been removed in PHP 5.4: Since PHP 5.0...

Show Detail

How to install the latest version of PHP 5.4 on Debian 8 (Jessie)?

I'm trying to install PHP on Debian 8 for a project I'm working on. The project requires PHP 5.4 and can't any of the later versions of PHP (5.5 and 5.6). Whenever I install php5 using apt-get, it

Show Detail

Compiling a PHP extension for windows

I've previously managed to get XHP compiled in a Linux environment with the .so extension. I'm trying to compile it for use in a windows enviroment (.dll) and I've followed the following tutorial o...

Show Detail

windows - php_memcache.dll - for PHP 5.4

I am borrowing the similar thread that wasn't helpfull for me: php_memcache.dll for PHP 5.3 I setup a server using the latest version of easyPHP for Windows. With it came PHP 5.4. I'm now looking ...

Show Detail