Resolve a Cron PHP Mismatch
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. The path should indicate which version of PHP the file uses.
For example, a php.ini
file at /opt/cpanel/ea-php73/root/etc/php.ini
indicates PHP 7.3.
3. Determine the path to the 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.
Contact your hosting provider or system administrator for help to adjust the necessary PHP versions. These versions must match.
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: 2025 May 23