开发者

How to add curl support to PHP 5 in CentOS

开发者 https://www.devze.com 2022-12-21 00:39 出处:网络
How to add curl support to PHP 5 in CentOS ? 开发者_JS百科After installing curl and curl-devel, what are the things that I need to do to setup curl in PHP 5Had the same problem. Installing php-common

How to add curl support to PHP 5 in CentOS ?

开发者_JS百科

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


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

yum install php-common

You can also specifically install the php-curl extension

yum install php-curl


Curl support should already be built into PHP for CentOS 5 (according to http://www.centos.org/modules/newbb/viewtopic.php?topic_id=17226).

Did you restart apache after installing curl? What error messages do you get?

BTW This question seems to belong on serverfault...

0

精彩评论

暂无评论...
验证码 换一张
取 消