Why are there no longer Windows binaries for PECL extensions like pecl_http?

后端 未结 5 1701
伪装坚强ぢ
伪装坚强ぢ 2021-02-08 07:44

I\'m working on a PHP project running on Windows and it would be so very handy to be able to use pecl_http rather than working with cURL and re-inventing the wheel in order to d

5条回答
  •  走了就别回头了
    2021-02-08 08:03

    Try this:

    First, download the PECL module from the php website : PECL 5.2.2 Win32 binaries.
    Then unzipp it and copy the file php_http.dll in your PHP extension folder.
    Now edit your php.ini file (c:\WINDOWS\php.ini) and activate the module :
    extension=php_http.dll
    Restart apache and check the installation using phpinfo.

    **EDIT: ** Link: PECL 5.2.6 Windows Binaries

    Source

提交回复
热议问题