wamp 服务器 php 扩展 PECL 丢失 [英] wamp server php extension PECL Missing

查看:31
本文介绍了wamp 服务器 php 扩展 PECL 丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道为什么wamp服务器中的PECL扩展不存在?

Does any one know why the PECL extension in wamp server does not exists?

我正在尝试使用 http_build_url()但我收到此错误:

I am trying to use the http_build_url() but I get this error:

致命错误:调用未定义的函数 http_build_url() in ...

Fatal error: Call to undefined function http_build_url() in ...

推荐答案

http_build_url() 函数是 PECL 扩展 pecl_http 的一部分.

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

在您的 WAMP 目录中找到 pecl.exe 并打开一个命令外壳.输入:pecl install 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.

这篇关于wamp 服务器 php 扩展 PECL 丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆