如何在CentOS中为PHP 5添加curl支持 [英] How to add curl support to PHP 5 in CentOS

查看:193
本文介绍了如何在CentOS中为PHP 5添加curl支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在CentOS中为PHP 5添加curl支持?

How to add curl support to PHP 5 in CentOS ?

安装curl和curl-devel后,需要做什么才能设置curl PHP 5

After installing curl and curl-devel, what are the things that I need to do to setup curl in PHP 5

推荐答案

有同样的问题。安装php-common对我有帮助

Had the same problem. Installing php-common did the trick for me

yum install php-common

您还可以专门安装php-curl扩展

You can also specifically install the php-curl extension

yum install php-curl

这篇关于如何在CentOS中为PHP 5添加curl支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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