• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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