How to upgrade PHP from 7.1 to 7.4

Running latest CyberPanel. What’s the best method to upgrade PHP from 7.1 to 7.4? Seems to be a critical security issue with PHP 7.1.


That’s what WordPress says.

“WordPress has detected that your site is running on an insecure version of PHP.”

“Your site is running an outdated version of PHP (7.1.33-3+bioninic), which requires an update. … The minimum recommended version of PHP is 7.4.”

I have installed lsphp74. Just need tip on how to make the switch.

Thanks for the insights. Havign installed lsphp74, how do I switch from lsphp71 to that from CyberPanel or from the command line?

I’m not really writing any code, just using WordPress. Just need to know how to switch from one version of lsphp to the other from the command line or from the CyberPanel dashboard.

Relatively new to CyberPanel, so I’m still trying to figure out how it works. Thanks,