Get our latest news

Blog & News

mod_lsapi now supported by cPanel

  • 14 January 2019

Beginning January 9th, 2019, cPanel will support the light version of the ea-apache24-mod_lsapi package.

This package offers the opportunity to use lsapi on other operating systems besides CloudLinux. However, it should not be used on CloudLinux systems as it does not include the full performance and does not have performance benefits.

The difference between ea-apache24-mod_lsapi (free with CloudLinux OS) compared to the ea-apache24-mod_lsapi that is now supported by cPanel:

  • Up to 10% increase in performance
    • mod_lsapi connection pooling offers up to 10% performance boost vs mod_lsapi delivered by default with cPanel. By re-using connections between the Apache web server and LSAPI we are able to shave a lot of delays associated with establishing a connection.
  • Faster startup after Apache restart
    • with mod_lsapi, rebooting Apache doesn't imply flushing opcode cache. Your caches stay hot in between Apache restarts.
  • Fast time to the first byte (TTFB) with low memory footprint in a multi-user environment
    • mod_lsapi uses process checkpointing (CRIU) to save the state of PHP processes. This allows us to begin PHP processes for any totally initialized user with hot opcode caches. This indicates that we do not need to keep processes running in memory to deliver really fast time to first byte (TTFB), provide very low memory footprint and low TTFB.

Packages released by cPanel had a much higher version than ones in available in the CloudLinux cl-ea4 repository, which meant the daily upcp update would bring these different-version packages to CloudLinux systems if the EA4 repository was enabled. This would cause problems for all CloudLinux users. For more information about the differences, please check their official site.

Therefore, the package has been removed from the EA4 repository and will no longer trigger a problem.

If your system was updated before the problem was fixed, please run the following commands:

yum clean all --enablerepo=*
yum remove ea-apache24-mod_lsapi ea-liblsapi
yum reinstall liblsapi
yum install ea-apache24-mod_lsapi


It's also recommended to disable the EA4 repository (you will get the necessary updates from the CloudLinux repositories):

yum downgrade ea-apache24-mod_lsapi --disablerepo=* --enablerepo=cl-ea4
yum-config-manager --disable ea4


If you still have questions or concerns, feel free to contact us by opening a support ticket or by using our live chat feature.