How to Enable Xcache via cPanel-CloudLinux

How to Enable Xcache via cPanel-CloudLinux

You can manage the PHP directives on a CloudLinux server using the PHP Selector. You can manage this via cPanel >> Software/services >> Select PHP version. In this tutorial, we are going to discuss the steps to enable Xcache via cPanel for a particular account.

1) You need to check in cPanel if Xcache is enabled or not. Login to cPanel >> Software/Services >> Select PHP Version.

How to Enable Xcache via cPanel-CloudLinux

 

Also check the following directives are existing on the file “/etc/cl.selector/php.conf”

xcache.cacher     on/Off

xcache.size       –value–

xcache.stat       on/Off

 

2) If the directives are not existing on the file, add the following directives in the file“/etc/cl.selector/php.conf.”

Directive = xcache.cacher

Default   = On

Type      = bool

Comment   = Enable or disable opcode cache. Not available if xcache.size is 0.

 

Directive = xcache.size

Default   = 50M

Type      = value

Range     = 0 50M 100M

Comment   = Total amount of memory used for opcode (*.php) caching. If set to 0 – opcode caching is disabled.

 

Directive = xcache.stat

Default   = On

Type      = bool

Comment   = Do stat() to check if xcache setting updated.

3) No need to restart any services, go to cPanel >> Software/Services >> Select PHP Version. You will get the following result.

How to Enable Xcache via cPanel-CloudLinux

 

4) Then click the ‘Save’ button to update the changes.

If you need any further help please do reach our support department.

  • 0

Advantages of CloudLinux

Advantages of CloudLinux The CloudLinux OS enhances server strength, security, adaptability, and...

cPanel error viewing CloudLinux stats

cPanel error viewing CloudLinux stats When cpanel + cloudlinux lvestats within cpanel shows the...

CloudLinux NodeJS Support for cPanel

CloudLinux NodeJS Support for cPanel Node.js is an open-source, cross-stage JavaScript runtime...

How to Install CloudLinux OS on CentOS Server with cPanel

How to Install CloudLinux OS on CentOS Server with cPanel In this tutorial, we can check how to...

Install DNF in RHEL/CentOS 7

Install DNF in RHEL/CentOS 7 DNF stands for Dandified yum. DNF is a software package manager for...