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

后端 未结 3 640
醉话见心
醉话见心 2021-01-13 14:59

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 pr

相关标签:
3条回答
  • 2021-01-13 15:21

    As of this post Dec 2015 there appears to be a new locations for all sorts of Windows compiled pecl and other PHP Extensions.

    Its only a couple of weeks after PHP7 was release and there are already PHP7 compatible extensions available here so I have to assume this location is being activley maintained.

    Start your search HERE

    0 讨论(0)
  • 2021-01-13 15:38

    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.

    Sorry.

    Being 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.

    0 讨论(0)
  • 2021-01-13 15:45

    Internet posts from August 2012, I bear greetings from THE FUTURE.

    In 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.

    0 讨论(0)
提交回复
热议问题