Jump to content

PHP Version And Cron PHP Version Mismatch


Recommended Posts

Hey guys so i am trying to get rid of this PHP Version Warning so i upgrade the PHP Version to the latests one but then i get a new error and i cant seem how to fix it

 

1686296000_Warning1.PNG.992f496ed49c3a965b5ffa2d4fc1c331.PNG

 

 

When i upgrade to a new version then this appears  Cron PHP Version Mismatch  and all the hardware is updated to the new version what am i missing   Thanks

image.png.30cd12b968841d279f7f76f1ff55c787.png

 

 

 

 

Link to comment
Share on other sites

Run the cron job from the server command line with debugging enabled

 

  • Add the all --force -vvv flags to the end of the cron command and execute it:
    php -q /path/to/whmcs/crons/cron.php all --force -vvv
  • Examine the output for any errors. The final line output should be "[OK] Completed".

If it shows memory issue then please raise it to Please raise this to the minimum 64M or the recommended 128M to resolve this error.

 

All thanks to  @WHMCS SamP  and @WHMCS Stephen   who helped me with the same issue...

To debug the cron job, please follow our instructions at https://docs.whmcs.com/Cron_Job_Issues#Run_the_cron_job_from_the_server_command_line_with_debugging_enabled

Other relevant documentation:
https://help.whmcs.com/m/automation/l/678272-troubleshooting-the-cron-not-completing
https://help.whmcs.com/m/automation/l/683269-advanced-cron-troubleshooting

 

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