Solution
In order to install mod_lsapi PRO on a server running cPanel, please follow these steps below.
Install mod_lsapi PRO and related packages through YUM package manager as follows:
$ yum install liblsapi liblsapi-devel
$ yum install ea-apache24-mod_lsapi
If there is a php.conf file in Apache's conf.d, which is usually brought by the php or php-fpm package, then it should be deleted or renamed.
For example, php.conf can be renamed into php.conf.NO
After installing mod_lsapi PRO packages run the next command to setup mod_lsapi to cPanel:
$ /usr/bin/switch_mod_lsapi --setup
Now, when the module is installed, restart Apache to ensure that the mod_lsapi PRO is enabled:
$ service httpd restart
Now the lsapi handler is available for managing through cPanel MultiPHP Manager.
For more details about swith_mod_lsapi, please visit switch_mod_lsapi tool.
Useful links
https://docs.cloudlinux.com/shared/cloudlinux_os_components/#apache-mod-lsapi-pro
Comments
0 comments
Please sign in to leave a comment.