• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

XCache doesn't loaded, what do I miss to load XCache

mavera2

Basic Pleskian
I migrated my codes to another server.
I'm trying to load XCache.

I installed XCache like this:
mkdir /opt/my
cd /opt/my
wget http://xcache.lighttpd.net/pub/Releases/3.1.0/xcache-3.1.0.tar.gz
tar zxvf xcache-3.1.0.tar.gz
cd /opt/my/xcache-3.1.0
phpize --clean
phpize
./configure --enable-xcache && make
make install

I opened Plesk panel. I go to domain's "PHP settings" in Plesk.
I pasted this in settings:
[xcache-common]
extension = xcache.so
[xcache.admin]
xcache.admin.enable_auth = Off
xcache.admin.user = "admin"
xcache.admin.pass = "404c47ca4ed629060063b17621457fbd"
[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 12M
xcache.count = 1
xcache.slots = 8K
xcache.ttl = 0
xcache.gc_interval = 0
xcache.var_size = 1M
xcache.var_count = 1
xcache.var_slots = 8K
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.var_namespace_mode = 0
xcache.var_namespace = ""
xcache.readonly_protection = Off
xcache.mmap_path = "/dev/zero"
xcache.coredump_directory = ""
xcache.coredump_type = 0
xcache.disable_on_crash = Off
xcache.experimental = Off
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
[xcache.coverager]
xcache.coverager = Off
xcache.coverager_autostart = On
xcache.coveragedump_directory = ""

But I still can't see xcache when I make "php -v"

What should I do more to load XCache ??
 
I solved this problem with creating a xcache ini file:
# vi /etc/php.d/xcache.ini

pasting all xcache directives in this file.
removing xcache directives from Plesk-domain-PHP settings page.
 
Hello,

Yes Right, You will have to create file /etc/php.d/xcache.ini file on your server.

I didn't need xcache.ini in my old server.
Adding XCache directions from Plesk's-domain.com-PHP settings-Additional directives was adequate.
But now it didn't worked without adding xcache.ini to php.d.
 
Back
Top