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? Link to comment https://forums.phpfreaks.com/topic/155275-solved-how-do-i-find-out-the-path-of-curl/ 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 Link to comment https://forums.phpfreaks.com/topic/155275-solved-how-do-i-find-out-the-path-of-curl/#findComment-816940 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? Link to comment https://forums.phpfreaks.com/topic/155275-solved-how-do-i-find-out-the-path-of-curl/#findComment-816947 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 Link to comment https://forums.phpfreaks.com/topic/155275-solved-how-do-i-find-out-the-path-of-curl/#findComment-816949 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? Link to comment https://forums.phpfreaks.com/topic/155275-solved-how-do-i-find-out-the-path-of-curl/#findComment-816955 Share on other sites More sharing options...
Gighalen Posted April 23, 2009 Share Posted April 23, 2009 Did you try /usr/bin/curl? Link to comment https://forums.phpfreaks.com/topic/155275-solved-how-do-i-find-out-the-path-of-curl/#findComment-816959 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 Link to comment https://forums.phpfreaks.com/topic/155275-solved-how-do-i-find-out-the-path-of-curl/#findComment-816966 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.