Jump to content

Cron PHP Version Mismatch

Recommended Posts

I have updated to PHP 8.1  and put cron:  /opt/cpanel/ea-php81/root/usr/bin/php -q /home/portoncloud/whmcsonedata/crons/cron.php

But I have errors:

" Your environment appears to be running a different PHP version (7.4.33) for the System Cron than the currently loaded PHP version (8.1.27). This may cause issues running your System Cron  

Any suggestions? 



Link to comment
Share on other sites

Trying running your cron manually with from Terminal in the cPanel account you have WHMCS install in using the verbose option: -vvv 

/opt/cpanel/ea-php81/root/usr/bin/php -q /home/portoncloud/whmcsonedata/crons/cron.php -vvv

That should easily tell you whether or not it will run correctly during the daily cron.

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.

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