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.
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:
- If you use cPanel & WHM, see Update PHP with cPanel MultiPHP.
- For other control panels or systems, contact your hosting provider or system administrator.
Last modified: 2026 July 1