InMotion Hosting Support Center

moodle 2.4 cronjob error

Category: Moodle

GarciaFlamenco
Asked:
2013-02-01 1:09 pm EST

Hits: 932
Hi,

I have a Moodle installation running with version 2.4.1 (the one you offer using Fantastic). When I try to run the cron job, receive the following error :
Moodle 2.1 or later requires at least PHP 5.3.2 (currently using version 5.2.6).
Some servers may have multiple PHP versions installed, are you using the correct executable?
I already change the php version to php 5.4 usign cpanel > Software services > php configuration.

How could you please help me solve my problem ?

Thanks

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

You must login before you can submit an answer.

OTHER ANSWERS

0

JacobIMH
Staff
9,968 Points
2013-02-01 2:02 pm EST
Hello GarciaFlamenco, and thank you for your question.

I have gone ahead and adjusted your cronjob for you so that it operates properly now.

The issue at hand was you were calling the cPanel PHP binary with this command:

/usr/local/cpanel/3rdparty/bin/php -q


I have updated it so it just calls PHP normally like any website request would:

/usr/local/bin/php -q


Please let us know if you continue to experience any problems.

- Jacob

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

Like this Question?

Support Center Login

Social Media Login

   
Social Login Joomla

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!