LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2012, 03:32 PM   #1
conflicker
Member
 
Registered: Sep 2011
Posts: 92

Rep: Reputation: Disabled
cURL library support


Hi everybody I'm working with skipjack integration, and found some class to work with their api.

The scripts requires cURL library support. Command-line cURL should be working, I don't understand cause when I ran phpinfo in my server, it says the curl is enabled.

The script says
Quote:
Cannot locate cURL binary on your system which is executable by the web-server
So I'm thinking that it might talking another cURL. Any idea?
 
Old 06-11-2012, 03:50 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Could be two possible things here, its trying to run through php with something like the curl_exec function or what it looks like here is that the app is actually trying to run the curl binary manually which should be at /usr/bin/curl.

So first thing to do is to verify you have curl installed:
Code:
rpm -qa | grep -i curl
It should show you something like "curl-7" with a bunch of revision numbers after that. If you don't have it installed use your package manager to install it.

Code:
yum install curl -y
If it shows as installed run:
Code:
ls -l /usr/bin/curl
Verify that it shows as readable & executable for the third set of permissions.
 
Old 06-12-2012, 08:45 AM   #3
conflicker
Member
 
Registered: Sep 2011
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Kustom42 View Post
Could be two possible things here, its trying to run through php with something like the curl_exec function or what it looks like here is that the app is actually trying to run the curl binary manually which should be at /usr/bin/curl.

So first thing to do is to verify you have curl installed:
Code:
rpm -qa | grep -i curl
It should show you something like "curl-7" with a bunch of revision numbers after that. If you don't have it installed use your package manager to install it.

Code:
yum install curl -y
If it shows as installed run:
Code:
ls -l /usr/bin/curl
Verify that it shows as readable & executable for the third set of permissions.
It seems that I have curl installed on my server and when I run
Code:
ls -l /usr/bin/curl
it says
Code:
-rwxr-xr-x. 1 root root 114956 Mar 28 06:22 /usr/bin/curl*
does it shows the curl is readable & executable?
 
Old 06-12-2012, 01:35 PM   #4
conflicker
Member
 
Registered: Sep 2011
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by conflicker View Post
It seems that I have curl installed on my server and when I run
Code:
ls -l /usr/bin/curl
it says
Code:
-rwxr-xr-x. 1 root root 114956 Mar 28 06:22 /usr/bin/curl*
does it shows the curl is readable & executable?
Thanks, exec function is now working I just missed the curl path.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
curl with ssl support in php conflicker Linux - Newbie 1 04-25-2012 10:55 AM
Retrieving HTML string with cURL library in C GamezR2EZ Programming 4 04-15-2012 07:33 PM
SSL Support for PHP Curl sw0rdz Linux - Software 10 03-15-2010 11:19 PM
Problem compiling centerim, needs curl with ssl support Josh000 Slackware 12 12-19-2009 12:09 AM
Adding curl support to standard 10.1 slack installation ttxmika Slackware - Installation 1 08-17-2005 12:59 PM


All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration