Home >Backend Development >PHP Tutorial >linux下PHP如何安装扩展curl

linux下PHP如何安装扩展curl

WBOY
WBOYOriginal
2016-06-06 20:33:40915browse

在网上搜了很多配置方法,都没有配置成功,还请哪位大神可以写一下配置的方法,谢谢了

回复内容:

在网上搜了很多配置方法,都没有配置成功,还请哪位大神可以写一下配置的方法,谢谢了

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

然后重启apache

打印phpinfo看下

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn