Is the php library curl installed?


jdgrimes
Asked:
2012-07-19 5:06 pm EST

Hits: 964
Hi, I am on a shared server, and I have been trying to run a php script using curl, but the curl_init() function keeps failing. I am just checking to make sure that curl is installed. Because if it isn't I don't want to waste any more time trying to figure out why this is happening. :)

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User

0

Arn
Staff
16,562 Points
2012-07-19 6:57 pm EST
Hello Jdgrimes,

Yes, CURL is definitely installed and available for use on the shared servers. Note that scripts executed from command line (like through cron jobs) will run as the USER unless CURL or LYNX are used. That is because mod_php is a standard for PHP scripts called over Apache, which does not apply to command line.

The information that I listed above is what I found when researching the issue of CURL running on our shared servers. If you continue to have further issues, please let us know or contact live technical support for further information.

If you have any further questions, please leave a comment at the bottom of the page.

Regards,

Arnel C.

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!