WebHostingPeople Posted January 20, 2022 Share Posted January 20, 2022 Hi, After update v8.4 and php7.4 with Ioncube loaders V11 , Cron is not running. System Health Status is showing PHP Version Mismatch. Tested with commands: /usr/bin/php -q /home/username/crons/cron.php /usr/local/php74/bin/php -q /home/username/crons/cron.php On running cron , nothing is showing. No error. 0 Quote Link to comment Share on other sites More sharing options...
xyzulu Posted January 20, 2022 Share Posted January 20, 2022 Try without the -q switch to test at least. /usr/bin/php /home/username/crons/cron.php ^ run that manually and you should see any errors. 0 Quote Link to comment Share on other sites More sharing options...
wsa Posted January 20, 2022 Share Posted January 20, 2022 You can also check https://docs.whmcs.com/System_Health_Status 0 Quote Link to comment Share on other sites More sharing options...
xyzulu Posted January 20, 2022 Share Posted January 20, 2022 FYI php version mismatch could mean the version of php are /usr/bin/php is not the same as the version you are running WHMCS on. 0 Quote Link to comment Share on other sites More sharing options...
WebHostingPeople Posted January 20, 2022 Author Share Posted January 20, 2022 PHP version is correct 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 21, 2022 WHMCS Support Manager Share Posted January 21, 2022 Hi @WebHostingPeople, This help guide contains steps to identify the php.ini being loaded by the cron job: https://help.whmcs.com/m/automation/l/969680-identifying-the-php-ini-used-for-in-command-line-cron-engine 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.