How to Disable Mod_ruid2 in A Direct admin Server/VPS for installing LSAPI

In order to install LSAPI on your Directadmin server via Cloudlinux, you need to disable mod_ruid2 as its not compatible with the LSAPI and the apache rebuild wont process without this.

For your direct admin server these are the stesps to disable mod_ruid2


  1. SSH into your server as root
  2. Run the following commands step by Step