Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

cURL is not compiled into PHP. I'm running:

[root@vps ~]# cat /etc/issue
CentOS release 5.7 (Final)
Kernel \r on an \m

Then I execute yum install curl and yum install php-curl. Then:

   [root@vps ~]# which curl
   [root@vps ~]# /usr/bin/curl -v
curl: no URL specified!
curl: try 'curl --help' for more information

My environment still shows that I haven't compile curl into php. Why?

I used phpinfo(), which shows:

cURL support: enabled

but when I install zencart on my vps hosting, it shows:

CURL not compiled into PHP - notify server administrator

How can I fix this?

share|improve this question

Check if by any chance curl_init() is on the disabled_functions of your php.ini, because from what I see here the Zencart installer checks that.

Also, on a test script (like the one you created for phpinfo()) try this to see what happens:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.