How switch from litespeed to apache in ssh
Today i will tell you the ssh commandto switch between apache and litespeed web servers.
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:
sh /usr/local/lsws/admin/misc/cp_switch_ws.sh apache
To switch from apache to litespeed:
sh /usr/local/lsws/admin/misc/cp_switch_ws.sh lsws
Please note you should write correct path of your litespeed installation directory.
How To Switch From Litespeed To Apache In Cpanel/WHM:
WHM->Plugins->LiteSpeed Web Server->Switch to Apache