Switching between litespeed and apache from ssh | switch from litespeed

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:

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.

WHMCS integration of domain check for PKNIC domains

PKNICPakistan’s largest domains (cTLDs) provider PKNIC has no WHMCS modules or domain checking mechanism for 3rd party tools.

You can add these domains checker functionality to your WHMCS by doing below simple steps:

  • Login to your FTP and edit file “WHMCS installation folder/includes/whoisservers.php” in any text editor or Dreamweaver
  • Now paste following below code at the end of the file and save that file to your server.

Read More