如何在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