Question

Incomming cURL being denied.

Posted December 4, 2013 15.1k views
Hello. I've recently installed zPanel on a server of mine and incomming cURL requests are being denied, I believe this is either a PHP problem or an apache problem. Does anyone have any ideas as of to what the problem could be? Thanks!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
19 answers
Hey Samuel,

Sorry that I cannot answer your question (I know nothing about zPanel). Out of curiosity, though, why did you choose zPanel over Webmin?
^^ Answered that on my other question.

Also, I think it's more of a php/apache problem, as apposed to a zpanel problem.
Ah, cool (I hadn't noticed that you had already answered my ?).

In regard to your current predicament, have you tried:
yum install php-common
yum install php-curl


But, then again, I came across a few forum posts via Google that suggest that cURL is already installed on CentOS, but disabled by default -- and all that is needed is to uncomment ;extension=curl.so in your php.ini.
Doesn't exist in my php.ini file. :/
What version of CentOS are you using?
Did you try the first part of Pablo's answer (the one with the yum commands)?
Pablo: 6.3 I think -- it's the latest one, I know that. :)
Kamal: Yeah, I got them installed already.
incomming cURL requests are being denied

What do you mean by denied?
cURL request sent to pingrglobe.com/api -> nothing gets returned
Visits api url in browser -> data returned
Previous 1 2 Next