{"id":1490,"date":"2013-11-22T15:58:11","date_gmt":"2013-11-22T19:58:11","guid":{"rendered":"http:\/\/blog.litespeedtech.com\/?p=1490"},"modified":"2013-11-22T15:58:11","modified_gmt":"2013-11-22T19:58:11","slug":"choose-the-right-litespeed-suexec-for-your-shared-hosting","status":"publish","type":"post","link":"https:\/\/lswp.store\/index.php\/2013\/11\/22\/choose-the-right-litespeed-suexec-for-your-shared-hosting\/","title":{"rendered":"Choose the Right LiteSpeed suEXEC for Your Shared Hosting"},"content":{"rendered":"<p>LiteSpeed Web Server&#8217;s numerous PHP suEXEC options offer great flexibility. Our new documentation makes it easier to decide which is right for your shared hosting service.<!--more--><\/p>\n<p>With the release of LSWS 4.2.5, we introduced the new PHP <a title=\"4.2.5 Features Part 2: Use Spare RAM for Opcode Caching withPHP suEXEC ProcessGroup!\" href=\"http:\/\/blog.litespeedtech.com\/2013\/10\/31\/php-suexec-workergroup-means-even-more-efficient-opcode-caching\/\">ProcessGroup<\/a>\u00a0mode to allow for even more powerful suEXEC opcode caching and customization. There are now <strong>three different suEXEC modes for LiteSpeed Web Server<\/strong>: <a href=\"http:\/\/www.litespeedtech.com\/products\/litespeed-sapi\/php\/suexec-daemon-mode\">suEXEC Daemon<\/a>, <a href=\"http:\/\/www.litespeedtech.com\/products\/litespeed-sapi\/php\/suexec-processgroup\">suEXEC ProcessGroup<\/a>, and\u00a0<a href=\"http:\/\/www.litespeedtech.com\/products\/litespeed-sapi\/php\/suexec-worker\">suEXEC Worker<\/a> (previously referred to in some documentation as &#8220;server managed mode&#8221;).\u00a0We realize that, with so many choices, it may be difficult for hosts to choose which setup to use on their VPS or dedicated server. To help with this decision, we have released more detailed documentation and a <a href=\"http:\/\/www.litespeedtech.com\/products\/litespeed-sapi\/php\/guide-to-suexec-setups\">comparison of the different suEXEC setups<\/a>.<\/p>\n<h3>Basic Differences in PHP suEXEC Setups<\/h3>\n<p>All three suEXEC setups create new processes when needed to meet demand for PHP content (as well as providing suEXEC security, of course). The main difference is how these processes are created.<\/p>\n<p><strong>suEXEC Worker:<\/strong> Each process is spawned brand new as a standalone process.<\/p>\n<p><strong>suEXEC Daemon:<\/strong> The server has one constantly running daemon process which spawns new child processes when needed.<\/p>\n<p><strong>suEXEC ProcessGroup:<\/strong> Each ProcessGroup user gets one parent process which spawns child processes for that user when needed.<\/p>\n<p>These different methods of controlling process creation lead to <strong>better opcode caching for suEXEC Daemon and ProcessGroup<\/strong> and the use of <strong>custom php.ini files with suEXEC Worker and ProcessGroup<\/strong>. More detailed information can be found in the <a href=\"http:\/\/www.litespeedtech.com\/products\/litespeed-sapi\/php\/guide-to-suexec-setups\">comparison<\/a>.<\/p>\n<p>Make the jump to LiteSpeed!<\/p>\n<p>Note: For a brief period after its release, we referred to ProcessGroup as WorkerGroup. We have changed the name to make difference clearer. We hope this has not caused too much confusion.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LiteSpeed Web Server&#8217;s numerous PHP suEXEC options offer great flexibility. Our new documentation makes it easier to decide which is right for your shared hosting service.<\/p>\n","protected":false},"author":1,"featured_media":6581,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[27,20],"tags":[220],"class_list":["post-1490","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-server","category-performance","tag-php"],"jetpack_featured_media_url":"https:\/\/lswp.store\/wp-content\/uploads\/2016\/09\/school.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/1490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/comments?post=1490"}],"version-history":[{"count":0,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/1490\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media\/6581"}],"wp:attachment":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media?parent=1490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/categories?post=1490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/tags?post=1490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}