rmyles Posted December 29, 2004 Share Posted December 29, 2004 Hi Everyone, I'm trying to find out if Curl is installed and enabled on my server. I've asked my host to find out and he replied: "I just verified it in your public_html folder and the verification came up good. did you need it another folder ?" It's not listed in tools->server info. I'm not sure what question to ask my host, if anyone could guide me in this area I'd be greatful The error message I'm recieving is: Call to undefined function: curl_init() Thanks in advance, Ron Link to comment Share on other sites More sharing options...
bglkk Posted December 30, 2004 Share Posted December 30, 2004 I'm no expert, but generally speaking after installing cURL you need to recompile PHP to include cURL support. (I believe you'll also want to have OpenSSL support.) Then you'll see something like this in tools->server info (along with '--with-curl'): curl CURL support enabled CURL Information libcurl/7.12.0 OpenSSL/0.9.6b zlib/1.1.4 I'm sure somebody else around here can give you more info, but maybe it's a start... :) "Buy the ticket, take the ride..." -HST Link to comment Share on other sites More sharing options...
rmyles Posted December 30, 2004 Author Share Posted December 30, 2004 I'm no expert, but generally speaking after installing cURL you need to recompile PHP to include cURL support. (I believe you'll also want to have OpenSSL support.) Then you'll see something like this in tools->server info (along with '--with-curl'): curl CURL support enabled CURL Information libcurl/7.12.0 OpenSSL/0.9.6b zlib/1.1.4 I'm sure somebody else around here can give you more info, but maybe it's a start... :) <{POST_SNAPBACK}> Thanks so much, This helps, if anyone else has anything more to add please do, I'd like to be able to talk as intelligently as possible. Link to comment Share on other sites More sharing options...
♥Vger Posted December 30, 2004 Share Posted December 30, 2004 If it's not listed in your Server Info, and you have that error - then in all likelyhood your hosting support is talking c**p. Unfortunately this is not a rare occurence. Vger Hi Everyone, I'm trying to find out if Curl is installed and enabled on my server. I've asked my host to find out and he replied: "I just verified it in your public_html folder and the verification came up good. did you need it another folder ?" It's not listed in tools->server info. I'm not sure what question to ask my host, if anyone could guide me in this area I'd be greatful The error message I'm recieving is: Call to undefined function: curl_init() Thanks in advance, Ron <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2004 Share Posted December 30, 2004 ask your host to give you the output of the following command: curl -V in server info, you can search for curl, it may be listed. you can also run a 'findcurl.php' script: <? exec('which curl', $curl_output); if ($curl_output) { $curl_path = $curl_output[0]; echo $curl_path; }else{ echo "No curl found"; } ?> Link to comment Share on other sites More sharing options...
rmyles Posted December 31, 2004 Author Share Posted December 31, 2004 ask your host to give you the output of the following command: curl -V in server info, you can search for curl, it may be listed. you can also run a 'findcurl.php' script: <? exec('which curl', $curl_output); if ($curl_output) { $curl_path = $curl_output[0]; echo $curl_path; }else{ echo "No curl found"; } ?> <{POST_SNAPBACK}> That's a pretty good idea, how exactly do I run that script? Thanks Link to comment Share on other sites More sharing options...
rmyles Posted December 31, 2004 Author Share Posted December 31, 2004 That's a pretty good idea, how exactly do I run that script? Thanks <{POST_SNAPBACK}> lol, never mind, it took me all of 3 seconds to figure that out. It came back with: /usr/bin/curl So I guess that tells me he's right, but I'm not sure what do about that message now. Any more help would be appreciated. Thanks again for that script! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.