views:

1160

answers:

2

How to add curl support to PHP 5 in CentOS ?

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

A: 

You'll need to recompile PHP with --with-curl

Xorlev
+1  A: 

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...

wimvds