Jump to content

Cron PHP Version Mismatch


Fabio Perez

Recommended Posts

I recently upgrade the OS on the WHMCS server from Debian 11 to 12.

 

This change also upgraded the PHP version from 8.1 to 8.4.

Now on my WHMCS dashboard I see this warning

Cron PHP Version Mismatch
Your environment appears to be running a different PHP version (8.1.30) for the System Cron than the currently loaded PHP version (8.4.14). This may cause issues running your System Cron

Just to be sure, I removed all old PHP versions from the server, so there is no php8.1 anywhere on the server.
Then, reading some docs, I saw that WHMCS only support php8.3. So I installed that version.

If I ran `php -v` on my server I get
```
php -v
PHP 8.3.27 (cli) (built: Nov 13 2025 21:19:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.27, Copyright (c) Zend Technologies
    with the ionCube PHP Loader v15.0.0, Copyright (c) 2002-2025, by ionCube Ltd.
```
I also using `fpm` on my nginx config file like this `fastcgi_pass unix:/run/php/php8.3-fpm.sock;`

Still I have this warning that Im not sure how to get rid of. And now the Daily Cron Completing fails.

Any help would be much appreciated it.

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated