繁体   English   中英

我正在尝试获取pecl_http

[英]I'm trying to get pecl_http

我安装了pecl软件包,但不会安装pecl_http

这是我的pecl名单:

Installed packages, channel pecl.php.net:
=========================================
Package        Version State
propro         1.0.0   stable
raphf          1.1.0   stable
uploadprogress 1.0.3.1 stable

我正在尝试将pecl_http放到列表中,但是它不起作用。 我究竟做错了什么?

我正在使用Ubuntu。 我使用以下命令安装了pecl_http

sudo pecl install pecl_http

我有一个pecl_http-2.5.5.tgz文件, .tgz包中的文件用C编写。

我也尝试了sudo pecl install http ,但没有成功。 有人可以告诉我我在做什么错吗?

回到pecl_http v1帮助了我。 我从已加载http.so但未定义http_get的问题中找到了解决方案。 由于推测需要对其他软件进行大量修改,因此使用PHP 7似乎不切实际。

sudo pecl uninstall pecl_http
sudo pecl install pecl_http-1.7.6

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM