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 Utilities > System > PHP Info.
  2. 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. 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. Contact your system administrator or hosting provider for help to adjust the necessary PHP versions. These versions must match.

Last modified: June 24, 2024