ispCP - Board - Support
Problems with cURL - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Problems with cURL (/thread-2488.html)



Problems with cURL - owhosting - 02-19-2008 07:57 AM

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.


RE: Problems with cURL - gOOvER - 02-19-2008 04:06 PM

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

See /var/www/fcgi/yourdomain/phpversion/


RE: Problems with cURL - owhosting - 02-19-2008 04:17 PM

Yes I did, I have ade other changed to the same php.ini (such as enablng phpinfo)


RE: Problems with cURL - gOOvER - 02-19-2008 04:26 PM

How did you install curl? Via apt?


RE: Problems with cURL - owhosting - 02-19-2008 04:32 PM

apt-get install curl

This also installed libcurl3 which I saw other peopel recommend.

No Errors on install


RE: Problems with cURL - gOOvER - 02-19-2008 04:36 PM

Try apt-get install php4-curl


RE: Problems with cURL - owhosting - 02-19-2008 04:54 PM

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?


RE: Problems with cURL - gOOvER - 02-19-2008 04:56 PM

if you want to use this extension you have to disable it. I also have one Domain, where it's disabled.


RE: Problems with cURL - owhosting - 02-19-2008 05:06 PM

Thanks for the help Smile cURL is functional


RE: Problems with cURL - gOOvER - 02-19-2008 05:09 PM

No Problem Smile you can thank me with a reputation Smile