CyberPanel Server Snippets
CyberPanelCommand Line
// Install PHP Version
apt install lsphp83
------------------------------------------------------------------------
// Restart System
systemctl restart lsws
// Or full server restart run
reboot
-------------------------------------------------------------------------
// Change what PHP version the terminal uses
//This moves the original php folder to a backup folder - therefore a non-destructive method - and symlinks the new php version to the right path
mv /usr/bin/php /usr/bin/php_backup && ln -s /usr/local/lsws/lsphp81/bin/php /usr/bin/php