Install Mod_lsapi on DirectAdmin

Installing on DirectAdmin servers

Installation process is done with custombuild script:

$ yum install liblsapi liblsapi-devel
$ cd /usr/local/directadmin/custombuild
$ ./build update
$ ./build set php1_mode lsphp
$ ./build php n
$ ./build apache

Please also change php2_mode, php3_mode, php4_mode in above step if you have configured these options in custom build also.

Restart Apache afterwards:

$ service httpd restart

If you get mod_ruid2 enabled error you can go in CustomBuild option under Directadmin and change it to no.

For full installation of directadmin follow this guide.

Notify of
1 Comment
Newest Most Voted
Inline Feedbacks
View all comments

[…] 6. Install Mod_lsapi after installation of CloudLinux […]