Fabio Perez Posted November 14 Share Posted November 14 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. 0 Quote Link to comment Share on other sites More sharing options...
wtools Posted November 28 Share Posted November 28 Do you still face this issue? Can you create a test.php file with phpinfo(); calling from it? Then take that page from a browser? And see what version of PHP is loaded from that page? Let me know if they are different or the same? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.