{"id":51729,"date":"2019-02-12T13:00:55","date_gmt":"2019-02-12T19:00:55","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=51729"},"modified":"2019-02-12T13:00:55","modified_gmt":"2019-02-12T19:00:55","slug":"easyapache-4-and-mod_lsapi","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/","title":{"rendered":"Speed and Resource Improvements with EasyApache 4 and mod_lsapi"},"content":{"rendered":"\n
EasyApache is a command line activated script that allows you to update and reconfigure your Apache web server through WHM or SSH. As of last week’s update<\/a>, EasyApache 4 includes a light version of mod_lsapi, a module built and distributed by our friends at CloudLinux. This release is a scaled-back version of the module already distributed by CloudLinux. Anyone already using CloudLinux should use the one distributed by CloudLinux, but for everyone else let’s talk about it!<\/p>\n\n\n\n mod_lsapi is an Apache module based on the LiteSpeed Technologies API<\/a> that provides significant improvements in speed and resource use for PHP websites. The version that we are distributing allows cPanel & WHM servers the option of using mod_lsapi on operating systems other than CloudLinux, and without LiteSpeed. <\/p>\n\n\n\n The two main features of lsapi that are disabled in the cPanel-distributed version of mod_lsapi are CRIU<\/a> (which requires kernel changes to enable), and connection pooling. A detailed understanding of the full-featured version of LSAPI can be found in CloudLinux’s documentation<\/a>. To take advantages of the full benefits, you can upgrade from CentOS to CloudLinux via the promotional banner in the EasyApache or MultiPHP interfaces (only available on cPanel & WHM Version 78 or higher).<\/p>\n\n\n\n LSAPI will give you a pretty significant boost all on its own, over mod_php. It can also be a replacement for PHP-FPM and can provide easier management for servers owners that don’t require much in-depth configuration. If you are using CentOS now and are considering upgrading to CloudLinux, you can get an extra 10% performance boost with that switch and enabling those two missing features. <\/p>\n\n\n\n If you’re ready to install it, log in to WHM. After you navigate to the EasyApache 4 interface, edit your current profile and click on Apache Modules<\/em>. In the search box enter What is mod_lsapi?
<\/h2>\n\n\n\ncPanel’s LSAPI<\/h2>\n\n\n\n
Why you might want to use mod_lsapi<\/h2>\n\n\n\n
Getting started<\/h2>\n\n\n\n