{"id":657,"date":"2013-03-19T22:36:46","date_gmt":"2013-03-20T02:36:46","guid":{"rendered":"http:\/\/blog.litespeedtech.com\/?p=657"},"modified":"2013-03-19T22:36:46","modified_gmt":"2013-03-20T02:36:46","slug":"php-selector-from-cloudlinux","status":"publish","type":"post","link":"https:\/\/lswp.store\/index.php\/2013\/03\/19\/php-selector-from-cloudlinux\/","title":{"rendered":"PHP Selector (from CloudLinux)"},"content":{"rendered":"<p>Recently, CloudLinux has added support for LSWS to its PHP Selector.\u00a0PHP Selector allows the end-user to select their PHP version and what PHP modules they want to run.<!--more--> This greatly benefits hosts who like to offer different PHP binaries with user-custom php.ini, giving their users the freedom of to choose their own PHP.\u00a0We outline the steps necessary to install and set up PHP selector in this\u00a0<a title=\"PHP Selector in LSWS\" href=\"http:\/\/www.litespeedtech.com\/support\/wiki\/doku.php?id=litespeed_wiki:cl_phpselector_how_to\" target=\"_blank\" rel=\"noopener\">how to<\/a>.<\/p>\n<p>This freedom, however, comes with a price: LiteSpeed&#8217;s suEXEC daemon mode has to be turned off in order to work with PHP Selector. As we explained in our <a title=\"custom php.ini not possible with suEXEC daemon\" href=\"http:\/\/blog.litespeedtech.com\/2012\/11\/29\/change-php-ini-under-php-suexec-daemon-mode-not-possible\/\" target=\"_blank\" rel=\"noopener\">blog<\/a>\u00a0last year, any custom php.ini will force lsphp5 to fall back to non-suEXEC daemon mode for that user. Our tests with PHP Selector show that, if you want to use PHP Selector,\u00a0suEXEC daemon mode needs to be turned off in LSWS. suEXEC daemon mode allows opcode caches to be shared among multiple processes and doesn&#8217;t require the in-memory cache to be flushed at every process exit. Some hosts may want to hold on to these performance gains no matter what.<\/p>\n<div style=\"display: none;\"><a title=\"cheap software\" href=\"http:\/\/cheap-software-download.com\/\">cheap software<\/a><\/div>\n<p>We&#8217;re working on a way to get custom php.ini to work with suEXEC daemon mode. Until then, you can still choose between PHP Selector or suEXEC daemon mode, depending on what you want to offer.<\/p>\n<div style=\"display: none;\">zp8497586rq<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Recently, CloudLinux has added support for LSWS to its PHP Selector.\u00a0PHP Selector allows the end-user to select their PHP version and what PHP modules they want to run.<\/p>\n","protected":false},"author":1,"featured_media":472,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[27,20],"tags":[65,220,225,276],"class_list":["post-657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-server","category-performance","tag-cloudlinux","tag-php","tag-php-selector","tag-suexec"],"jetpack_featured_media_url":"https:\/\/lswp.store\/wp-content\/uploads\/2013\/02\/3569262181_bb3526e741_o-scaled.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/657","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=657"}],"version-history":[{"count":0,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/657\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media\/472"}],"wp:attachment":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media?parent=657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/categories?post=657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/tags?post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}