We log search terms to improve our documentation. For more information, read our Privacy Policy.


Resolve a Cron PHP Mismatch

This information only applies to self-hosted WHMCS installations. WHMCS Cloud handles automation and system cron configuration for you automatically.

You may see warnings if the php.ini file that runs the system cron does not use the same version of PHP as the php.ini file that your web server uses.

For more information, see System Cron.

Resolve a Cron PHP Version Mismatch Warning

To resolve this issue:

1. Go to PHP Info.

Go to Utilities > System > PHP Info.

2. Examine the Loaded Configuration File path.

Examine the path for Loaded Configuration File. This is the php.ini file that your web server uses. The path should indicate which version of PHP the file uses.

For example, a php.ini file at /opt/cpanel/ea-php83/root/etc/php.ini indicates PHP 8.3.

3. Determine the path to the cron php.ini file.

Use the steps in Find the Cron php.ini File to determine the path to the command line php.ini file and the PHP version that it uses.

4. Adjust the necessary PHP versions.

The web server’s PHP version and the system cron’s PHP version must match. To adjust them, do one of the following:

The Cron PHP Version Mismatch warning at Configuration () > System Health may not disappear immediately after making the necessary changes to resolve the issue. The system caches the result of this check and only updates it after the daily cron tasks execute.

Last modified: 2026 July 1