shadiadiph Posted April 22, 2009 Share Posted April 22, 2009 How can I find out the path of curl I need to find out the value of this $CURL_PATH = "/usr/local/bin/curl"; I tried print_r($_SERVER); but it didn't seem to show anything relating to curl? Quote Link to comment Share on other sites More sharing options...
Gighalen Posted April 22, 2009 Share Posted April 22, 2009 SSH into your server, and issue the command: which curl Quote Link to comment Share on other sites More sharing options...
shadiadiph Posted April 22, 2009 Author Share Posted April 22, 2009 sorry got no idea how to do that? Quote Link to comment Share on other sites More sharing options...
Gighalen Posted April 22, 2009 Share Posted April 22, 2009 It can be different with each host... I think you can also find it by using phpinfo(); Just create a file called info.php and add <?php phpinfo(); ?> and scroll around until you find it. I'm not sure though. I think you can. But don't hate me if I'm wrong Quote Link to comment Share on other sites More sharing options...
shadiadiph Posted April 23, 2009 Author Share Posted April 23, 2009 MM thanks says i have curl but only tells me this Configure Command '--with-curl=/opt/curlssl/' cURL support enabled cURL Info libcurl/7.18.2 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6 still doesn't give me the path? Quote Link to comment Share on other sites More sharing options...
Gighalen Posted April 23, 2009 Share Posted April 23, 2009 Did you try /usr/bin/curl? Quote Link to comment Share on other sites More sharing options...
shadiadiph Posted April 23, 2009 Author Share Posted April 23, 2009 ok thanks seems to be kind of working Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.