Alternative PHP Cache is a free, open source framework that caches the output of the PHP bytecode compiler in shared memory.
Questions tagged [alternative-php-cache]
128 questions
0
votes
1 answer
APC and xCache memory configuration
In PHP xCache and APC, there are options that allows to set maximum memory.
Do xCache and APC actually RESERVE the memory, or they just use it whenever they need to?

ComMania
- 61
- 2
- 7
0
votes
2 answers
How do I make the server response faster on search results (WP, nginx, apc)
I have my own virtual server in the cloud, running nginx and APC. On this server I have one wordpress blog using the W3TC-plugin. I've enabled page cache and object cache using APC.
When accessing front page, pages and posts the response from the…

PappApp
- 1
- 2
0
votes
1 answer
apc.shm_size : right value format
On howto and documentation, I generaly find this format
apc.shm_size=512M
but on one of my server APC 3.0.19 does not like the "M" and crash apache
[apc-error] apc_mmap: mmap failed: Cannot allocate memory
With the same Debian Lenny, same PHP…

Cédric Girard
- 417
- 2
- 12
- 25
0
votes
1 answer
Every 4th sunday at 6:45am my web server goes down because of apc_mmap error
PHP Fatal error: PHP Startup: apc_mmap: mmap failed: in Unknown on line 0
[Sun Aug 11 06:45:16 2013] [notice] seg fault or similar nasty error detected in the parent process
The system (Ubuntu 12.04.2) was at 18% of total memory and APC was using…

Nick
- 171
- 1
- 1
- 6
0
votes
1 answer
Installing APC on ubuntu
So I've got my server running Ubuntu with lampp (xampp for linux) running.
I want to implement a file upload progress bar, so I am trying to install APC. (Please do not suggest alternative plugins) I tried multiple tutorials, but the way I ended up…

aNewStart847
- 101
- 1
0
votes
1 answer
Multiple instances of APC cache when refreshing apc.php
Hope you guys can provide some info on an issue I'm seeing.
I'm running a Centos server with mod_fcgi and APC cache. APC cache is running, but when refreshing the apc.php, I see what look like different caches. The uptime and cache sizes for them…

Aldo
- 3
- 1
0
votes
1 answer
Any possible side effect to use APC on shared host?
I'm using a shared host for a CMS site. This shared host has an option to use "APC".
I just tried this option on a test site as it can be enabled just by one click on my account page of the shared host.
It seems that this option speeds up the site.…

Sona7
- 9
- 1
0
votes
1 answer
does apc cache count into php memory usage?
Does apc cache counts into php memory usage? I am using php-fpm but I am not sure if that is relevant. If apc memory is set to 256MB and php memory limit for individual workers is also 256MB does that mean apc can take all the memory for the php…

clime
- 427
- 1
- 7
- 15
0
votes
2 answers
apc "open() /www/cache/xxx failed. no such file or directory" error
I think it's because APC because I use only APC system for cache. Here is the full log:
2013/04/23 19:15:05 [error] 539#0: *1305213 open() "/var/www/cache/e4ce8db565491cdcf27ab61a441xxxx" failed (2: No such file or directory), client: 2.83.130.yyy,…

xecute
- 111
- 1
- 9
0
votes
1 answer
Does PHP take advantage of APC if run as apache module with prefork?
I have installed APC, but I am not observing as big an impact on performance as I expected. Actually, I'm not sure I'm observing any benefit, though maybe it's just because the cpu time spent in interpreting php code is negligible compared to the…

matteo
- 731
- 2
- 9
- 21
0
votes
2 answers
Wordpress feed does not update after APC and Cloudflare
I am running a Wordpress site on a Ubuntu server. I installed APC and setup Cloudflare. After that I started having a strange problem with the feed.
When I check the feed on the browser, I can see the latest posts. However, when I wget it, it's…

mustafa
- 111
- 5
0
votes
1 answer
I am unable to install php5-apc on my Ubuntu server
I am unable to install php5-apc.
I don't seem to get any errors.
root@applications-server-1:~# aptitude install php5-apc
The following NEW packages will be installed:
php5-apc{b}
0 packages upgraded, 1 newly installed, 0 to remove and 57 not…

jnbdz
- 927
- 5
- 24
- 46
0
votes
2 answers
How to TAIL & EGREP for a specified time range in a BASH script
The subject mostly says it all. I am in charge of a few web servers running Ubuntu 12.04 running Apache2 & I would like to setup APC.
Now I understand APC can hit segmentation fault issues when acting on PHP code that has errors or quirks. So…

Giacomo1968
- 3,542
- 27
- 38
0
votes
1 answer
PHP APC not working
I just installed APC with PHP Handler FastCGI. But it seems the Cache never working.
if(($t=apc_fetch('key_4321'))===FALSE){
$t=time();
apc_add('key_4321', $t, 24*60*60);
}
echo $t;
Almost each time I run it I got a different timestamp.…

Tester
- 177
- 1
- 1
- 7
0
votes
1 answer
php-fpm, nginx magento store. Coming to a halt
We just moved to a new server. 2 x Dedicated, 48 GB ram, php-fpm, nginx, memcached, APC. We have an issue where each php-fpm process that spawns keeps getting bigger. A fresh restart of php-fpm shows each process takes 30-100 MB. After a few hours,…

user156677
- 1
- 1
- 2