cd /usr/local/directadmin/custombuild
./build set litespeed_serialno litespeedlicense#
cd /usr/local/directadmin/custombuild
./build update
./build set webserver litespeed
./build set php1_mode lsphp
./build set php2_mode lsphp
./build set php3_mode lsphp
./build set php4_mode lsphp
./build litespeed
./build php n
IF ERROR AFTER LOGIN:
Can not find handler with type: 17, name: lsphp70.
Can not find External Application: lsphp70, type: lsapi
Litespeed admin panel -> Configuration -> Server -> External App
Command Line Should Be:
php 56 : /usr/local/php56/bin/lsphp
php 70 : /usr/local/php70/bin/lsphp
php 71 : /usr/local/php71/bin/lsphp
php 72 : /usr/local/php72/bin/lsphp
php 73 : /usr/local/php73/bin/lsphp
save & Graceful Restart
UNINSTALL:
/usr/local/lsws/admin/misc/cp_switch_ws.sh apache