Solution

This is a symptom of incorrect cron job setup. For more information, see Set up cron jobs in our developer documentation.

Incorrect PHP version

Issue

The check reports the incorrect PHP version. Typically, this happens only to advanced users who have multiple PHP versions installed. In some cases, the readiness check fails; in other cases, it might pass.

If the PHP version reported by the readiness check is incorrect, it’s the result of a mismatch of PHP versions between the PHP CLI and the web server plug-in. Adobe Commerce requires you to use one version of PHP for both the CLI (which runs cron) and the web server (which runs the Commerce Admin, Component Manager, and System Upgrade).

Solution

We assume that if you have this issue, you’re an advanced user who has likely installed multiple versions of PHP on your system.

To resolve the issue, try the following:

  • Restart your web server or php-fm.
  • Check the $PATH environment variable for multiple paths to PHP.
  • Use the which php command to locate the first PHP executable in your path; if it’s not correct, remove it or create a symlink to the correct PHP version.
  • Use a phpinfo.phppage to collect more information.
  • Make sure you’re running a supported PHP version according to our system requirements, in our developer documentation:
  • Set the same PHP settings for both the PHP command line and the PHP web server plug-in as discussed in PHP configuration options in our developer documentation.
Previous pageCustom server-side scripts not executed in pub media directory
Next pageCloud site is slow

Commerce


Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more