{"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

What is mod_lsapi?
<\/h2>\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

cPanel’s LSAPI<\/h2>\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

Why you might want to use mod_lsapi<\/h2>\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

Getting started<\/h2>\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 lsapi<\/g><\/em> and you will see the module listed. Toggle the slider next to the module to enable it in your profile.<\/p>\n\n\n\n

\"locating<\/figure>\n\n\n\n

Once you review any warnings presented, click Review<\/em> on the left, and then select Provision<\/em>. That’s it! <\/p>\n\n\n\n

For support with this module or anything else cPanel, always feel free to open up a ticket with our amazing support team<\/a>. If you’d like to talk more about mod_lsapi or anything else cPanel-related, please feel free to join us on our forums<\/a>, or in the cPanel Slack<\/a> or Discord<\/a> channels or subscribe to the official cPanel subreddit<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"

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, 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 […]<\/p>\n","protected":false},"author":77,"featured_media":65097,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[49],"tags":[389,325],"class_list":["post-51729","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-products","tag-api","tag-product-development"],"acf":[],"yoast_head":"\nSpeed and Resource Improvements with EasyApache 4 and mod_lsapi | cPanel<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Speed and Resource Improvements with EasyApache 4 and mod_lsapi | cPanel\" \/>\n<meta property=\"og:description\" content=\"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, 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 […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/\" \/>\n<meta property=\"og:site_name\" content=\"cPanel\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cpanel\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-12T19:00:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devel.www.cpanel.net\/wp-content\/uploads\/2019\/02\/modlsapi.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3858\" \/>\n\t<meta property=\"og:image:height\" content=\"1527\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"cPanel Community\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cPanel\" \/>\n<meta name=\"twitter:site\" content=\"@cPanel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cPanel Community\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/\",\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/\",\"name\":\"Speed and Resource Improvements with EasyApache 4 and mod_lsapi | cPanel\",\"isPartOf\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\"},\"datePublished\":\"2019-02-12T19:00:55+00:00\",\"dateModified\":\"2019-02-12T19:00:55+00:00\",\"author\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\"},\"breadcrumb\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/devel.www.cpanel.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Speed and Resource Improvements with EasyApache 4 and mod_lsapi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\",\"url\":\"https:\/\/devel.www.cpanel.net\/\",\"name\":\"cPanel\",\"description\":\"Hosting Platform of Choices\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devel.www.cpanel.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\",\"name\":\"cPanel Community\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"caption\":\"cPanel Community\"},\"description\":\"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.\",\"sameAs\":[\"https:\/\/cpanel.net\"],\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Speed and Resource Improvements with EasyApache 4 and mod_lsapi | cPanel","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/","og_locale":"en_US","og_type":"article","og_title":"Speed and Resource Improvements with EasyApache 4 and mod_lsapi | cPanel","og_description":"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, 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 […]","og_url":"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/","og_site_name":"cPanel","article_publisher":"https:\/\/www.facebook.com\/cpanel\/","article_published_time":"2019-02-12T19:00:55+00:00","og_image":[{"width":3858,"height":1527,"url":"https:\/\/devel.www.cpanel.net\/wp-content\/uploads\/2019\/02\/modlsapi.png","type":"image\/png"}],"author":"cPanel Community","twitter_card":"summary_large_image","twitter_creator":"@cPanel","twitter_site":"@cPanel","twitter_misc":{"Written by":"cPanel Community","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/","url":"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/","name":"Speed and Resource Improvements with EasyApache 4 and mod_lsapi | cPanel","isPartOf":{"@id":"https:\/\/devel.www.cpanel.net\/#website"},"datePublished":"2019-02-12T19:00:55+00:00","dateModified":"2019-02-12T19:00:55+00:00","author":{"@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8"},"breadcrumb":{"@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/easyapache-4-and-mod_lsapi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devel.www.cpanel.net\/"},{"@type":"ListItem","position":2,"name":"Speed and Resource Improvements with EasyApache 4 and mod_lsapi"}]},{"@type":"WebSite","@id":"https:\/\/devel.www.cpanel.net\/#website","url":"https:\/\/devel.www.cpanel.net\/","name":"cPanel","description":"Hosting Platform of Choices","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devel.www.cpanel.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8","name":"cPanel Community","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","caption":"cPanel Community"},"description":"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.","sameAs":["https:\/\/cpanel.net"],"url":"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/51729"}],"collection":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/comments?post=51729"}],"version-history":[{"count":0,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/51729\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media\/65097"}],"wp:attachment":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media?parent=51729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/categories?post=51729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/tags?post=51729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}