Installing mod_laspi for Plesk

Navigation:  Apache mod_lsapi >

Installing mod_laspi for Plesk

Previous pageReturn to chapter overviewNext page

Installation process is done with yum:


yum install liblsapi liblsapi-devel

yum install mod_lsapi


When completed - run a command to setup mod_lsapi and register LSPHP handlers in Plesk Panel:

/usr/bin/switch_mod_lsapi --setup


The command adds LSPHPXY alt-php PHP handlers to Plesk Panel so they become available for domains.


Managing PHP handlers is fully done with Plesk Admin according to their documentation:


Quick reference:


Enabling lsapi for single domain is done with Plesk Panel > Subscriptions > [subscription name] > Hosting Settings > PHP Support, select desired LSPHP handler for domain.


Enabling lsapi for multiple domains is done with Plesk Service Plans > [Plan name] > PHP Settings > PHP support, select desired LSPHP handler to be used by all users under a plan. If a subscription is not locked (user changed nothing in it), after clicking ‘Update and sync’ domains will start using lsapi.




There is no way to switch all plans to lsapi - it should be done one-by-one .