Today i will tell you the ssh command to switch between apache and litespeed web servers. You must have litespeed installed on the server.
This command is useful when you have apache and litespeed installed and your cPanel license is no more operational or expired. You can still swtich between web servers by executing this command via terminal/ssh.
Login to your server with root access via ssh terminal and run followimg ssh command:
To switch from litespeed to apache:
ssh /usr/local/lsws/admin/misc/cp_switch_ws.sh apache
To switch from apache to litespeed:
ssh /usr/local/lsws/admin/misc/cp_switch_ws.sh lsws
Please note you should write correct path of your litespeed installation directory.