I’m currently using LiteSpeed, and I want to switch to Apache in WHM cPanel. I tried using the UI interface in WHM, but I’m getting a warning that both LiteSpeed and Apache are running. How can I stop LiteSpeed and ensure only Apache is running?
LiteSpeed provides a convenient script, “cp_switch_ws.sh,” to facilitate switching between web servers. To switch to Apache, execute the following command as root:
If you need to switch back to LiteSpeed, use the command:
In case LiteSpeed is still running after the switch, you can manually stop it with the following command:
This command ensures that LiteSpeed is stopped.