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
1
vote
2 answers

Symfony2 and XCache. Did anyone get it working?

Using Symfony 2.0, I am trying to make it work together with XCache. XCache is properly installed. As for the offitial Symfony documentation, we have this XcacheClassLoader.php that should make it. As for the same documentation, we get this piece of…
ElPiter
  • 4,046
  • 9
  • 51
  • 80
1
vote
1 answer

Installing xcache on a shared hosting account

I'd like to install xcache on a shared hosting account. I've followed the instructions here: http://xcache.lighttpd.net/wiki/InstallFromSource but note the differences: You can not run "su" on a shared host, since the make install wants to move the…
Screenack
  • 747
  • 10
  • 26
1
vote
3 answers

Symfony2: change APC to xcache

Because a Bug in APC, i had to use another Cache-Drive. I removed APC and installed xcache. config.php says Your configuration looks good to run Symfony. I got the following error on request: PHP Fatal error: Uncaught exception 'RuntimeException'…
icksde
  • 267
  • 4
  • 11
1
vote
1 answer

phpize Install xcache in mac os x 10.7.3,no such file directory

When I run phpsize,get the following error: $ cd /usr/local/xcache-2.0.0 $ phpize grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or directory grep:…
slimboy
  • 55
  • 1
  • 2
  • 8
1
vote
1 answer

xcache.var_size is either 0 or too small to enable var data caching

I've installed Xcache 2.0.0 module on mac osx 10.7.3 , added it's configurations to php.ini like the following ; zend_extension = /opt/local/lib/php/extensions/no-debug-non-zts-20090626/xcache.so extension = xcache.so [xcache] xcache.shm_scheme = …
Mustafa Abuelfadl
  • 537
  • 1
  • 4
  • 20
0
votes
1 answer

Symfony2 error with xcache

I just installed xcache on my server (Fedora 16) following the tutorial on http://xcache.lighttpd.net/wiki/InstallFromSource. When I try to run my Symfony2 app I get the following error: Cannot redeclare class AppKernel When I disable xcache, then…
Pierre
  • 1,553
  • 12
  • 22
0
votes
1 answer

Make error while installing Xcache 1.3.2 on php 5.4

I am trying to get xcache 1.3.2 installed on my centos 5.8final (64bit) machine. It's running nginx 1.1.13 and php 5.4.0. This is the output of ./configure --enable-xcache --with-php-config=/opt/php/bin/php-config http://pastebin.com/YWVyna1S Seems…
Mr.Boon
  • 2,024
  • 7
  • 35
  • 48
0
votes
1 answer

Xcache can't reload php opcode when source code changed

Can Xcache or other php opcode cachers auto-reload php opcode when php source code has changed?
0
votes
1 answer

xcache Admin Page is Showing Cache ONLY For Current User (CPanel)

I have a brand spanking new cPanel server. cPanel recently added xcache functionality right into EasyApache, so I built xcache with fastCGI using easyapache. It seems to work, except that whatever account I put the admin pages of xcache on, that's…
MattInglot
  • 23
  • 1
  • 5
0
votes
0 answers

Why can I see a website via browser, but with "wget/curl/..." I get "403 Forbidden"?

A website is normally reachable via browser (Chrome, Firefox, ...), but if I try to access via wget/curl/... I get the following error: ---response begin--- HTTP/1.1 403 Forbidden Server: CloudFront Date: Wed, 28 Jun 2023 14:20:12 GMT Content-Type:…
jkrow
  • 1
0
votes
1 answer

Existing Class not found using XCache and PHP 5.3.2

I'm getting the weirdest problem using XCache and PHP 5.3.2 there is a class 'Vb_Post' that won't be loaded by PHP and throws a Fatal Error: Fatal error: Class 'Vb_Post' not found in /Users/mario/Sites/m.techspot/app/models/Vb/Comments.php on line…
Mario Estrada
  • 475
  • 1
  • 3
  • 10
0
votes
0 answers

Multiple instances of the same PHP project using classes from the wrong directory

We have a web server with 4 vhosts of the same project (for different countries). Our setup is Apache24 with PHP-FPM running 5.6. We use the composer autoloader with our classes directory following the PSR-0 autoloading standard. The composer…
Adam Copley
  • 1,495
  • 1
  • 13
  • 31
0
votes
2 answers

CakePHP Shell: Fatal error: Call to undefined function xcache_isset()

I am having a strange problem right now with CakePHP. I haven't used the shell in sometime since I enabled XCache on Dreamhost, and now when I try to use the CakePHP Shell script I have, I get this error.. Fatal error: Call to undefined function …
Russell
  • 368
  • 2
  • 4
  • 17
0
votes
2 answers

In-memory cache with LRU expiration

I am looking for an in memory cache for my PHP powered website. It is not high traffic website, I just want to cache data and parts of some pages for improving performance. The data size will vary from a few bytes to few kBs. I am currently using…
Joyce Babu
  • 19,602
  • 13
  • 62
  • 97
0
votes
4 answers

using xCache with Zend optimizer together

i have installed xCache and Zend optimizer in same time and it gives me PHP Fatal error: [Zend Optimizer] Zend Optimizer 3.3.3 is incompatible with XCache 1.2.1 in Unknown on line 0 I have lines in installation document that i should include zend…
user20955
  • 2,552
  • 4
  • 24
  • 23