wamp server php extension PECL Missing

a 夏天 提交于 2019-12-07 10:42:28

The function http_build_url() is part of the PECL extension pecl_http.

In your WAMP directory locate pecl.exe and open a command shell. Type: pecl install pecl_http and the function call should work.

i have found this source of pecl_http package, but dont know how to make it work on wamp as there is no .dll file in there.

http://pecl.php.net/package/pecl_http

This question is old now, so if you want pecl with wamp 2.2, click on the wamp icon, hover over php->php extensions and make sure that php_http has a checkmark next to it. Doing this enabled pecl for me.

I'm using WAMPServer (x64) with PHP5.6.25 & I want to install "Blesta", the requirements need "Pecl - Mailparse", So:

  1. I download "PHP Mailparse v2.1.6 (PHP v5.6)(Thread Safe)(vc11)(x64)"

  2. I extract the download file in "C:\wamp64\bin\php\php5.6.25\ext" folder

  3. I add "extension=php_mailparse.dll" to file "C:\wamp64\bin\php\php5.6.25\phpForApache.ini" but at the end of "Dynamic Extensions"
  4. Restart the WAMPServer
  5. Install "Blesta"

Note for #3 Example:

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll

extension=php_mailparse.dll
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!