ispCP - Board - Support - VHCS fork

Full Version: Problems with cURL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have been searching around the forum and can not find anything that addresses this issue. I am trying to run curl on a specific server and have added extension=curl.so to the proper php.ini file and installed libcurl3 via apt.

http://www.outwargaming.com/test.php

curl does not show up here as an installed extension..

Has anyone dealt with using curl alone with ISPCP?

Thanks in advance.
Do you use the correct php.ini? You have for every Domain a php.ini.

See /var/www/fcgi/yourdomain/phpversion/
Yes I did, I have ade other changed to the same php.ini (such as enablng phpinfo)
How did you install curl? Via apt?
apt-get install curl

This also installed libcurl3 which I saw other peopel recommend.

No Errors on install
Try apt-get install php4-curl
That does it Smile

Thanks so much, chalk this one up to me being a noob!

(I did search for what package to install before doing this)

Any chance you have a fix for
Code:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir
I thought this was a php5 issue but apparently I have it in php4 also

Safe mode is off, am I safe to disable open_basedir?
if you want to use this extension you have to disable it. I also have one Domain, where it's disabled.
Thanks for the help Smile cURL is functional
No Problem Smile you can thank me with a reputation Smile
Reference URL's