luke2019 Posted January 13, 2019 Share Posted January 13, 2019 Hey all, New here. Just installed WHMCS, and having an issue with this cron job: /crons/cron.php When it runs, I am getting the following error via email: Fatal error: The file /home1/ab9110/public_html/crons/cron.php cannot be run by the ionCube Loader. Please ask the script provider to supply an encoded file that can run on your version of PHP, 5.4. in Unknown on line 0 So at the advice of my host, we tried changing the PHP, like this: /opt/cpanel/ea-php72/root/usr/bin/php -q/home1/ab9110/public_html/crons/cron.php This resulted in the following error: /usr/local/cpanel/bin/jailshell: /opt/cpanel/ea-php72/root/usr/bin/php: No such file or directory Anyone have any advice/suggestions? I have opened a support ticket, but thought I may get a response sooner here. 0 Quote Link to comment Share on other sites More sharing options...
luke2019 Posted January 13, 2019 Author Share Posted January 13, 2019 20 hours ago, luke2019 said: Hey all, New here. Just installed WHMCS, and having an issue with this cron job: /crons/cron.php When it runs, I am getting the following error via email: Fatal error: The file /home1/ab9110/public_html/crons/cron.php cannot be run by the ionCube Loader. Please ask the script provider to supply an encoded file that can run on your version of PHP, 5.4. in Unknown on line 0 So at the advice of my host, we tried changing the PHP, like this: /opt/cpanel/ea-php72/root/usr/bin/php -q/home1/ab9110/public_html/crons/cron.php This resulted in the following error: /usr/local/cpanel/bin/jailshell: /opt/cpanel/ea-php72/root/usr/bin/php: No such file or directory Anyone have any advice/suggestions? I have opened a support ticket, but thought I may get a response sooner here. Issue now resolved. 0 Quote Link to comment Share on other sites More sharing options...
mauwiks Posted January 25, 2019 Share Posted January 25, 2019 How did you resolve this? if I may ask 0 Quote Link to comment Share on other sites More sharing options...
MJHost Posted January 26, 2019 Share Posted January 26, 2019 On 1/25/2019 at 7:33 AM, Mauwiks said: How did you resolve this? if I may ask Change the PHP version that is being used. So in my case, I changed to PHP5.6 0 Quote Link to comment Share on other sites More sharing options...
mauwiks Posted January 26, 2019 Share Posted January 26, 2019 Thank you! Are you using the latest version of WHMCS? 0 Quote Link to comment Share on other sites More sharing options...
mauwiks Posted January 28, 2019 Share Posted January 28, 2019 On 1/26/2019 at 10:18 PM, MJHost said: Change the PHP version that is being used. So in my case, I changed to PHP5.6 I am using the latest version and when I did changed to v5.6, it broke my site. 0 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.