Questions tagged [alternative-php-cache]
Alternative PHP Cache is a free, open source framework that caches the output of the PHP bytecode compiler in shared memory.
128 questions
0 votes
1 answer
302 views
Why APCu version mismatch the APC version reported in PHP?
I installed APCu for a MediaWiki website but I get some nasty errors about the caching. I noticed that the version of APCu is not the same as the one reported by APC. I verified the installed packages ...
0 votes
0 answers
209 views
php performance issues between two servers
I know this question might be too broad but I'm desperate. Prenote: Here I'm testing php with CLI but same difference occurs with Apache+PHP too. But to avoid Apache caching and other stuff I used ...
0 votes
1 answer
609 views
Determinate witch Php cache system is currently used
How can i find what php cache system is used by my server (APC/opcache/Zend...) ? If I run this command line, i've no information : php -v PHP 5.4.45-0+deb7u5 (cli) (built: Aug 30 2016 20:15:34) ...
0 votes
0 answers
876 views
Wordpress on Nginx+php5-fpm+varnish+APC high CPU and memory usage
After days of debugging and tweaking around with settings, I'm getting exhausted & unable to find a solution. Kindly guide. I've the following server on DigitalOcean: 64GB Memory 8 Core ...
1 vote
2 answers
792 views
Can APC and OpCache co-exist in PHP5.4
We are generally running php 5.4.x with APC enabled on CENTOS for our production sites. We have a new app that is segfaulting and the development team thinks it is because we've got APC. The app is ...
0 votes
0 answers
1k views
E: Unable to locate package php5-apcu
trying to install APCu on Ubuntu: apt-get install php5-apcu Getting an error: E: Unable to locate package php5-apcu Following someone's suggestion I added: deb http://packages.dotdeb.org wheezy-...
1 vote
0 answers
601 views
opcache causing errors: Allowed memory size, and malloc: *** error for object 0x10b4cbaf8: pointer being freed was not allocated
Since I installed opcache I am getting these errors: [Thu Jun 04 17:31:02 2015] [error] [client 127.0.0.1] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate ...
1 vote
1 answer
2k views
APC - tuning apc.mmap_file_mask
When configuring APC as an opcode cache for PHP, there's a configuration setting called apc.mmap_file_mask. From what I've read there are three ways you can configure it but I don't really understand ...
2 votes
1 answer
3k views
PHP-FPM TCP connections not terminating in time
I'm serving Wordpress pages via nginx/PHP5-FPM using APC caching (through the W3 Total Cache plugin). Nginx communicates with PHP-FPM via TCP sockets on port 9000. I've adjusted the number of max ...
1 vote
0 answers
65 views
PHP APC Using 2.7MB RAM for file that normally uses 16K
I had a PHP application that was performing poorly. I investigated the situation and determined that APC cache will filling up constantly. I increased the size of the apc cache so that I don't get ...
0 votes
0 answers
856 views
PHP APC cause server crash on Prestashop 1.6
I run Prestashop 1.6.0.9 on a Debian Wheezy dedicated server with Apache2 and PHP 5.4 with APC and 32Gb of memory on the server. The shop perfectly run without using APC, but when I enable this ...
1 vote
0 answers
2k views
Using APC with HHVM / Nginx
I've been using APC for object caching with a PHP / Apache setup for a year or so and it's been working. Recently I've been playing around with HHVM and Nginx and installed APC. It seems to be ...
0 votes
1 answer
4k views
APC cache is enabled but not caching anything
I am trying to enable APC in a server running Ubuntu 14.04 APC seems to be correctly enabled since when I run this command: sudo php -i | grep "apc" The terminal returns that: apc apcu apc....
1 vote
0 answers
161 views
Enabling APC cache takes down website
I have a VPS running on centos 5 with 2 GB ram. I run a IP.Board forum on that server. Recently my server was hacked and I had to format the disk and start again. I was using APC cache before and it ...
6 votes
0 answers
2k views
Apache + Php-FPM + APC : mode_deflate not compressing HTML output
I have prepared a server to run a Magento instance with: Apache + Php-FPM + APC The problem I have is that Apache is not compressing the HTML output from the Magento PHP scripts. In my .htaccess I ...