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
2
votes
3 answers
Ram issues with NGINX, PHP-FPM+APC and Varnish
I'm running a 512MB and i have lot of ram issues. I think is due to my configuration.
root@s1:~# free -m
total used free shared buffers cached
Mem: 1024 1022 1 0 0 …

ufo
- 21
- 2
2
votes
1 answer
How do I check APC cache is working?
I have Debian server with php5-fpm and nginx installed.
Just installed apc cache:
apt-get install php5-apc
/etc/init.d/php5-fpm restart
/etc/init.d/nginx restart
when I modify any php file and reload it in the browser it shows all changes…

iscna
- 23
- 1
- 1
- 3
2
votes
3 answers
How to install APC on a vagrant box running Ubuntu with PHP?
In my "Vagrant" file I have this line:
chef.add_recipe("php::module_apc")
But it gives me this error:
[2013-01-11T22:14:53+00:00] INFO: Processing package[php-apc] action install (php::module_apc line…

thasmo
- 257
- 2
- 11
2
votes
1 answer
Continuous segmentation faults (code 11) with nginx and php-fpm
I'm running a CentOS 6 64bit server with 1.2 GHz CPU and 2.4 GB RAM. The server runs nginx and php-fpm with the APC extension and also mysql.
A couple of weeks ago the server starting continuously throwing 500 errors on HTTP requests; Google WMT was…

Daniel
- 41
- 2
- 5
2
votes
0 answers
Data Cache (XCache, APC, memcached, etc) on shared hosting / privacy considerations
I have one question. How appropriate is to use on shared hosting a cache system for data?
I mean as far as I know the data is written in a shared data cache (not private for each user) across all users. And on a busy server other users will have…

Cristian Bichis
- 21
- 1
2
votes
2 answers
APC uptime 0 because of Fast
I have a VPS using Parallels/Plesk (11.0.9 Update #22, last updated at Oct 31, 2012 03:33 AM
CentOS 6.3 (Final) x86_64)
I have apache (CGI/FastCGI) installed and nginx as reverse proxy. Everything is working just fine. I installed APC for caching,…

demlasjr
- 49
- 1
- 6
2
votes
1 answer
open_basedir problems with APC and Symfony2
I'm currently setting up a shared staging environment for one of our applications, written in PHP5.3 and using the Symfony2 framework.
If I only host a single instance of the application per server, everything works as it should.
However, if I then…

Steve Hill
- 141
- 4
2
votes
2 answers
APC setting - maximum apc.shm_size
Is there any limitation of the apc.shm_size? As i calculated im gonna need more or less 2 GB cache size, but if i set even 1 MB more then 1024MB, Apache wont start.

McCon
- 23
- 3
2
votes
1 answer
Nginx Subdomain Wordpress Rewrite Rules - APC FPC - Slow as a turtle. why?
Running on Ubunty 10.04 Nginx (one of latest) with Wordpress subdomain multisite using the plugin.
APC i have latest version same with php, I am running 4 websites with almost no traffic (30 hits per day on each) and the cloud server with…

NickNo
- 131
- 1
- 4
2
votes
2 answers
I/O Error with PHP5-FPM, ptrace(PEEKDATA) failed
I got a lot of these:
[NOTICE] child 19214 stopped for tracing
[NOTICE] about to trace 19214
[ERROR] ptrace(PEEKDATA) failed: Input/output error (5)
[NOTICE] finished trace of 19214
[WARNING] [pool www] child 19208, script 'blahblah.php'…

MultiformeIngegno
- 1,687
- 9
- 26
- 31
2
votes
1 answer
Unable to install php-apc on Ubuntu 11.04
I've got Ubuntu 11.04 running on my Slicehost web server, and I'm trying to install php-apc?
However, when trying to install with
apt-get install php-apc
I get:
Reading package lists... Done
Building dependency tree
Reading state…

Josef van Niekerk
- 511
- 4
- 8
- 15
2
votes
1 answer
Installing APC on CentOS 5.8 with PHP 5.2.17
I'm trying to install APC on CentOS 5.8 with PHP 5.2.17. I ran the dependancies, which weren't needed, and then
pecl install apc
and after a whole bunch of stuff, got:
Build process completed successfully
Installing…

markratledge
- 519
- 5
- 13
- 26
2
votes
0 answers
Best opcode cache for fcgid? (APC vs eaccelerator vs xcache)
I have been reading a while the web trying to find out about opcode caches for fcgid. As I understand so far APC is not a good solution for fcgid, since APC with fcgid caches only per process and that is inefficient. (ref:…

giorgio79
- 1,837
- 9
- 26
- 36
2
votes
1 answer
APC strange long responses
I have slow response issue on my debian 6 + nginx + apc 3.1.9 + php-fpm 5.3.10 server.
My website is based on symfony 1.4.
My setup is VPS with 512MB ram which is almost everytime used up to 250MB.
This happens only if i has APC switched on.
Without…

palmic
- 183
- 11
2
votes
1 answer
I cannot install APC
I have php 5.3.6 and ubuntu. I want to install APC.
When I do the $ pecl install apc, I eventually get an error:
In file included from /tmp/pear/temp/APC/apc.c:44:0:
/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or…

Mikkel Rev
- 147
- 9