[英]wamp server php extension PECL Missing
Does any one know why the PECL extension in wamp server does not exists? 有谁知道为什么wamp服务器中的PECL扩展不存在?
I am trying to use the http_build_url()
but I get this error: 我正在尝试使用
http_build_url()
但出现此错误:
Fatal error: Call to undefined function http_build_url() in ...
致命错误:在...中调用未定义的函数http_build_url()
The function http_build_url()
is part of the PECL extension pecl_http
. 函数
http_build_url()
是PECL扩展名pecl_http
。
In your WAMP directory locate pecl.exe
and open a command shell. 在您的WAMP目录中,找到
pecl.exe
并打开命令外壳。 Type: pecl install pecl_http
and the function call should work. 键入:
pecl install pecl_http
并且函数调用应该起作用。
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. 我已经找到了pecl_http包的源,但是不知道如何使它在wamp上工作,因为那里没有.dll文件。
http://pecl.php.net/package/pecl_http 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. 这个问题现在已经很老了,因此,如果要使用wamp 2.2进行pecl,请单击wamp图标,将鼠标悬停在php-> php扩展上,并确保php_http旁边有一个选中标记。 Doing this enabled pecl for me.
这样做为我启用了pecl。
I'm using WAMPServer (x64) with PHP5.6.25 & I want to install "Blesta", the requirements need "Pecl - Mailparse", So: 我正在将WAMPServer(x64)与PHP5.6.25一起使用,并且我想安装“ Blesta”,需求需要“ Pecl-Mailparse”,所以:
I download "PHP Mailparse v2.1.6 (PHP v5.6)(Thread Safe)(vc11)(x64)" 我下载了“ PHP Mailparse v2.1.6(PHP v5.6)(线程安全)(vc11)(x64)”
I extract the download file in "C:\\wamp64\\bin\\php\\php5.6.25\\ext" folder 我将下载文件解压缩到“ C:\\ wamp64 \\ bin \\ php \\ php5.6.25 \\ ext”文件夹中
Note for #3 Example: #3示例的注释:
;;;;;;;;;;;;;;;;;;;;;;
; 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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.