{"id":3218,"date":"2016-07-12T19:12:50","date_gmt":"2016-07-12T19:12:50","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=3218"},"modified":"2016-07-12T19:12:50","modified_gmt":"2016-07-12T19:12:50","slug":"ow-enable-xcache-cpanel","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2016\/07\/12\/ow-enable-xcache-cpanel\/","title":{"rendered":"How to enable Xcache in cPanel"},"content":{"rendered":"<p>How to enable Xcache in cPanel to speed up website?<br \/>\nXcache can be enabled in cPanel by using Easy Apache.<\/p>\n<p>Log into your cPanel server. After you login, search for &#8220;EasyApache&#8221; in left column and click on the link. Select &#8220;Previously Saved Config&#8221; and click on &#8220;start customizing&#8221;. For both Apache and PHP, click on &#8220;next step&#8221; button. Look for &#8220;xcache for php&#8221; and check the box. Click on &#8220;save and build&#8221;. Allow the build process to finish.<\/p>\n<p>To enable xcache, you will need to make changes to php.ini before it can be used by your scripts. <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# nano  \/usr\/local\/lib\/php.ini\n<\/pre>\n<p>Here is recommended settings for xcache in cPanel &#8212;  <\/p>\n<p>xcache.admin.pass=&#8221;&#8221;<br \/>\nxcache.admin.user=&#8221;mOo&#8221;<br \/>\nxcache.cacher=&#8221;On&#8221;<br \/>\nxcache.coredump_directory=&#8221;&#8221;<br \/>\nxcache.count=&#8221;1&#8243;<br \/>\nxcache.coveragedump_directory=&#8221;\/tmp\/pcov\/&#8221;<br \/>\nxcache.coverager=&#8221;Off&#8221;<br \/>\nxcache.gc_interval=&#8221;300&#8243;<br \/>\nxcache.mmap_path=&#8221;\/dev\/zero&#8221;<br \/>\nxcache.optimizer=&#8221;On&#8221;<br \/>\nxcache.readonly_protection=&#8221;Off&#8221;<br \/>\nxcache.size=&#8221;50M&#8221;<br \/>\nxcache.slots=&#8221;8K&#8221;<br \/>\nxcache.test=&#8221;Off&#8221;<br \/>\nxcache.ttl=&#8221;3600&#8243;<br \/>\nxcache.var_count=&#8221;2&#8243;<br \/>\nxcache.var_gc_interval=&#8221;300&#8243;<br \/>\nxcache.var_maxttl=&#8221;7200&#8243;<br \/>\nxcache.var_size=&#8221;16M&#8221;<br \/>\nxcache.var_slots=&#8221;8K&#8221;<br \/>\nxcache.var_ttl=&#8221;3600&#8243;<\/p>\n<p>Make necessary changes and save. Aftererwards you will need to restart Apache in WHM for changes to take affect<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# service http restart\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>How to enable Xcache in cPanel to speed up website? Xcache can be enabled in cPanel by using Easy Apache. Log into your cPanel server. After you login, search for &#8220;EasyApache&#8221; in left column and click on the link. Select &#8220;Previously Saved Config&#8221; and click on &#8220;start customizing&#8221;. For both Apache and PHP, click on &#8230; <a title=\"How to enable Xcache in cPanel\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2016\/07\/12\/ow-enable-xcache-cpanel\/\" aria-label=\"Read more about How to enable Xcache in cPanel\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,20],"tags":[],"class_list":["post-3218","post","type-post","status-publish","format-standard","hentry","category-apache","category-cpanel"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/3218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=3218"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/3218\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=3218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=3218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=3218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}