Current time: 11-16-2024, 08:55 AM Hello There, Guest! (LoginRegister)


Post Reply 
Problems with cURL
Author Message
owhosting Offline
Junior Member
*

Posts: 32
Joined: Feb 2008
Reputation: 0
Post: #1
Problems with cURL
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.
02-19-2008 07:57 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: Problems with cURL
Do you use the correct php.ini? You have for every Domain a php.ini.

See /var/www/fcgi/yourdomain/phpversion/
02-19-2008 04:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
owhosting Offline
Junior Member
*

Posts: 32
Joined: Feb 2008
Reputation: 0
Post: #3
RE: Problems with cURL
Yes I did, I have ade other changed to the same php.ini (such as enablng phpinfo)
02-19-2008 04:17 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: Problems with cURL
How did you install curl? Via apt?
02-19-2008 04:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
owhosting Offline
Junior Member
*

Posts: 32
Joined: Feb 2008
Reputation: 0
Post: #5
RE: Problems with cURL
apt-get install curl

This also installed libcurl3 which I saw other peopel recommend.

No Errors on install
02-19-2008 04:32 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #6
RE: Problems with cURL
Try apt-get install php4-curl
02-19-2008 04:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
owhosting Offline
Junior Member
*

Posts: 32
Joined: Feb 2008
Reputation: 0
Post: #7
RE: Problems with 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?
02-19-2008 04:54 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #8
RE: Problems with cURL
if you want to use this extension you have to disable it. I also have one Domain, where it's disabled.
(This post was last modified: 02-19-2008 04:57 PM by gOOvER.)
02-19-2008 04:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
owhosting Offline
Junior Member
*

Posts: 32
Joined: Feb 2008
Reputation: 0
Post: #9
RE: Problems with cURL
Thanks for the help Smile cURL is functional
02-19-2008 05:06 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #10
RE: Problems with cURL
No Problem Smile you can thank me with a reputation Smile
02-19-2008 05:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)