Questions tagged [xcache]

XCache is an open-source PHP opcode cacher, meaning that it accelerates the performance of PHP on servers.

XCache is a open-source PHP opcode cacher, which means that it accelerates the performance of PHP on servers. It optimizes performance by removing the compilation time of PHP scripts by caching the compiled state of PHP scripts into the shm (RAM) and uses the compiled version straight from the RAM. This will increase the rate of page generation time by up to five times as it also optimizes many other aspects of PHP scripts and reduce server load.

The XCache project is lead by mOo who is also a developer of Lighttpd.

86 questions
0
votes
1 answer

Xcache - No different after using it

Hi I have installed Xcache in my site(using xampp), I have tested more then 10 times on several page and the result is same as default(no any cache installed), is it something wrong with the configure? Updated [xcache-common] ;; install as zend…
Charles Yeung
  • 38,347
  • 30
  • 90
  • 130
0
votes
1 answer

XCache - where is serious documentation?

i'm trying to studying XCache but is very difficult to get complete documentation (or also lazy documentation like apc docs). For example i'd like to know difference beetwen xcache_list(0, 0); and xcache_list(1, 0); Someone can helps me?
alesdario
  • 1,873
  • 6
  • 25
  • 38
0
votes
1 answer

Change XCache settings via Puphpet

Can you overwrite some settings via Puphpet in /etc/php.d/xcache.ini? Or do is there a way to create a new .ini file that overwrites the settings in xcache.ini? This is my config.yaml for php php: install: '1' settings: version:…
Arne De Smedt
  • 735
  • 1
  • 5
  • 8
0
votes
1 answer

XCache: cannot init in Laravel 5.1 application

I'm developing a Laravel 5.1 web application. The application is working absolutely fine on my localhost but when I deploy the website on a cPanel shared hosting it get following error. FatalErrorException in Unknown line 0: XCache: Cannot init in…
Ahmed Raza
  • 294
  • 4
  • 18
0
votes
1 answer

xampp apache apc not working in symfony2

I have prollem of high TTFB (time to first byte). I have to install APC or xcache, both of which are not getting started on my apache webserver. Please advise how to install the APC or xcache. opcache is installed, but I do not know how to use in…
0
votes
1 answer

Need help applying specific PHP Values in Nginx for location within Magento

I need to apply a set of PHP values in an nginx file to prevent Xcache from caching files from a certain extension in Magento. I have successfully done this for magmi as it doesn't work well with Xcache with the following location block. location ~*…
TheWebsiteGuy
  • 304
  • 1
  • 2
  • 12
0
votes
1 answer

How to install x-cache on max os?

I have installed already php 5.6 and memcached using http://php-osx.liip.ch/. Now I need x-cache and I don't know how to install and turn module on for php. Please, help. Thank's in advance.
0
votes
1 answer

what goes wrong with Opcahce and xcache

my environment ubuntu 14.04 , php 5.5 , nginx 1.76 i am using both opcache and xcache concurrently PHP 5.5.19-1+deb.sury.org~trusty+1 (cli) (built: Nov 19 2014 19:33:43) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c)…
Dev
  • 371
  • 1
  • 4
  • 19
0
votes
1 answer

Joomla xcache authentication error

I am using Joomla for my website administration and appeared to have encountered an error while configuring cache settings. I accidentially set GUI option from file to xcache and now everytime I try to do something a dialog box appears requiring my…
sdgaw erzswer
  • 2,182
  • 2
  • 26
  • 45
0
votes
1 answer

Xcache install, repo giving old verison

I'm trying to install xcache onto my server to try and improve site speeds. I'm following the guide provided here http://www.tecmint.com/install-xcache-to-accelerate-and-optimize-php-performance/ Which the first step is to do the fellow yum install…
lee murphy
  • 134
  • 1
  • 11
0
votes
1 answer

PHP request_uri vs. __FILE__

Is there any circumstance in which the same $_SERVER['REQUEST_URI'] should open two different PHP files? I'm not using mod_rewrite, just Apache virtual hosts and Alias pointers to the target directories in which my PHP files live, but I'm seeing…
leei
  • 139
  • 5
0
votes
2 answers

Php files not getting updated after deploy even after clearing xcache

Facing this strange problem that if I deploy my code, and even clear the xcache, then also the code is calling some of the old files. This behaviour is random. I checked the xcache , it is getting clear every time but still some times it works fine…
Ruhi Singh
  • 176
  • 2
  • 15
0
votes
1 answer

xcache count vs cpu count vs webadmin slots

Using xcache 3.1.0 on php 5.4.24 on a dual hexacore machine (12 cores): [~]# cat /proc/cpuinfo |grep -c processor 12 I have entered 12 in the count property of the xcache object in the php.ini and the webadmin agrees: However, I am getting 16…
BReal14
  • 1,603
  • 1
  • 12
  • 35
0
votes
0 answers

How to enable opcode caching in xcache?

I installed xcache (php-xcache-3.1.0-1) on arch linux (on a raspberry), but I don't get the opcode cache working. My xcache.ini looks like: xcache.cacher = On xcache.size = 32M xcache.var_size = 32M From it's documentation this should be enough.…
gmoktop
  • 131
  • 1
  • 4
0
votes
1 answer

Symfony2: Flush XCache class cache on multiple instances on deployment

app/console cache:clear isn't clearing XCache (or APC) which can lead to major problems after redeployment when we're using AppCache in app.php (e.g. bootstrap.php.cache and all other generated .cache. files are cached). app.php (pretty…
Stefan
  • 3,382
  • 4
  • 23
  • 27