PHP is an interpreted language, APC is made to cache the results of interpreting a script and reusing them in feature requests.

learn more… | top users | synonyms

0
votes
0answers
11 views

APCu Fragmented sectors unrecoverable

I currently have APCu (v4.0.6) running with nginx + php-fpm (v5.5.16) and it's creating a scenario where the fragmented area keeps on growing and is not naturally recovered by APCu. Eventually, the ...
0
votes
0answers
12 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 ...
0
votes
0answers
85 views

APCu - NO HIT and / or MISS. What am I missing?

I just installed php-pecl-apcu: # yum info php-pecl-apcu Loaded plugins: amazon-id, priorities, rhui-lb 4 packages excluded due to repository priority protections Installed Packages Name : ...
2
votes
1answer
52 views

How does PHP APC shared memory expiration works?

I am using the APC and see I still have 25MB of free memory. However, in the Cache full count, I see I have 8 already. So, why that happens? And if my understanding is: APC is not a LRU cache, so ...
0
votes
0answers
106 views

Apache segmentation fault when running PHP script

I have Apache 2.4.6 on CentOs with mod_php (PHP 5.4.23) Symfony 2.3.4 is used with APC for caching the code. The PHP code also uses Postgre and Couchbase modules. There is a web request that I run ...
2
votes
0answers
22 views

PHP APC cannot increase cache above 32m

apc.shm_size I set it to 128M I have also try 128 (without M) But It always 32M :( /proc/sys/kernal/shmmax is set to 134217728
2
votes
1answer
415 views

PECL APC install — ERROR: 'make' failed

I get the following error when running sudo pecl install apc. /var/tmp/APC/apc_cache.c: In function '_apc_cache_user_update': /var/tmp/APC/apc_cache.c:818: error: 'IS_CONSTANT_INDEX' undeclared ...
0
votes
0answers
29 views

APC OpCode Cache : Hit count rises and falls : Normal?

I have noticed (via the APC control panel) that on each refresh The hit count rises and falls. The hits vs misses values fluctuate wildly, on one view it will be at 99% hits, 1% misses. On the next ...
2
votes
1answer
448 views

Unable to install php5.5 apcu module on Debian 6.0 server

Since APC is not supported by PHP 5.5 as an OP code cache I read that I can still use APC for user data which sounds good for me. It's called APCu and it should be compatible with the old APC. ...
0
votes
0answers
62 views

APC Cache files expire Issue with FastCgi

we have properly installed APC cache on our WHM based server, we have set to expire each file in few hours, but all cached file lost in few seconds. Our APC Settings: apc.cache_by_default 1 ...
-1
votes
1answer
303 views

How to enable PHP APC with Virtualmin

Is it possible to enable PHP APC in Virtualmin? If yes, how? (almost no information in foruns, official documentation, web, google..) Important: (this is the reason for this question) Virtualmin, ...
0
votes
1answer
38 views

Slow I/O due to APC

I have a vps running Ubuntu 10.04 with nginx as my webserver. I use APC for php caching and I noticed my server is doing lots of disk queries which resulted me having slower I/O. I have about +50 ...
0
votes
0answers
146 views

How to check if php-apc is running?

I've installed APC using 'pecl install apc'... apc sucessfully installed... I copied this file /local/lib/php/apc.php to my www directory, to see stats: But accessing this url I can see it's not ...
0
votes
1answer
221 views

Cent OS - MySQL Daemon failed to start [closed]

I'm running AWS micro instance with 0.615 GB Memory. I have APC running on it with 35 MB size max as default. Now I have restarted mysqld and it wont start. It has just stopped. I really need to get ...
0
votes
1answer
70 views

PHP Opcode cache that can detect identical files

I am currently using APC with PHP FPM to cache a few hundred Wordpress sites. With a 2gig cache everything works well but it isn't terribly efficient and the cache is always maxed out. If I have 200 ...
2
votes
1answer
360 views

Installing APC on Centos 6 package dependency issues - Which direction should I proceed

I have a CentOS 6.4 x32 VPS running NGINX and Drupal 7. To improve response I would like to install and configure APC. To do this my first attempt was to install it using PECL. To start I fired this ...
0
votes
1answer
61 views

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?
1
vote
1answer
52 views

PHP APC configuration - cache filling and being dumped every 5 minutes

We've just installed APC on our server, and after looking at the stats for APC it appears that APC's cache takes around 5 - 10 minutes to fill up, and is then completely emptied. Current settings ...
1
vote
2answers
3k views

Debian: can not install php5-suhosin and php5-apc

Just ordered a new Debian server and for some reason can not install php5-suhosin and php5-apc. Any ideas? apt-get install php5-suhosin Reading package lists... Done Building dependency tree Reading ...
0
votes
2answers
307 views

Apache restart needed after php code change

When I change php code of an application I need to restart apache to make the new code effective. $ sudo apachectl -l Compiled in modules: core.c mod_log_config.c mod_logio.c itk.c ...
2
votes
1answer
661 views

how to correctly clear php apc cache with capistrano

we are using capistrano to deploy our PHP application. and php-apc is enabled on the production server with apc.stat = 0. In capistrano config there is a rule to clear apc cache after deploy:update : ...
0
votes
1answer
213 views

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 ...
0
votes
1answer
52 views

Any possible side effect to use APC on shared host? [closed]

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

How to reduce I/O on EC2 micro instance running wordpress

I have been running a very small wordpress site on Amazon EC2 for about 2 months, using the free tier micro instance. I have been getting billed a few dollars each month for going over the disk I/O ...
0
votes
1answer
1k views

PHP APC - is 100% fragmentation a bad thing?

APC.PHP tells me: Uptime 2 days, 15 hours and 13 minutes File Upload Support 1 File Cache Information Cached Files 375 ( 53.5 MBytes) Hits 377684 Misses 376 Request Rate (hits, misses) 1.66 ...
0
votes
2answers
426 views

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: ...
0
votes
1answer
195 views

php-fpm taking too much memory

I am using Nginx+PHP-FPM with php 5.3.6 and it was working well for weeks. A few days before I found out that most of the PHP-FPM children take 3MB but a few children are taking 700MB. The web ...
0
votes
1answer
220 views

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 ...
1
vote
1answer
1k views

upstream prematurely closed connection while reading response header from upstream, client

I'm using nginx and spawnf-cgi with apc and memcache enabled.I'm getting 502 bad gate way on browser and this error on error log. 2013/01/07 06:55:46 [error] 90799#0: *53 upstream prematurely closed ...
0
votes
1answer
79 views

Configure APC for maximum hit rate

I'm currently running php5 with APC, the latter with default configuration. However after setting up munin to monitor APC, I'm surprised by the results: apc.shm_size: 30 apc.gc_ttl: 3600 apc.ttl: 0 ...
2
votes
2answers
830 views

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 ...
2
votes
1answer
312 views

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, ...
3
votes
1answer
227 views

How to monitor multiple sites using one copy of apc.php?

Regarding my particular APC setup: APC 3.1.9 PHP 5.3.3/fCGI/SuEXEC Apache 2.2.15 CentOS 6.3 I would like to keep only one copy of apc.php that can be accessed via any of the vhosts on the server. ...
1
vote
1answer
2k views

PHP-APC is exceeding limit apc.shm_size often

I am implementing the apc on a shared server that currently has 1000 sites (using wordpress, moodle, etc.). I'm Looking for the admin page, and I see "Cache full count" is growing rapidly. I've tried ...
0
votes
0answers
148 views

APC 99% Misses on Filecache

I have installed APC Cache in an Ubuntu + Zend Server enviroment. But it seems the APC does not Cache any File or does not use the cached files. After some Requests: File Cache: Cached Files 419 ...
2
votes
2answers
525 views

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.
0
votes
1answer
212 views

apc.filters on Windows

I set up OwnCloud on my Windows Server 2008 box. I run my blog on the machine as well and I wanted to set up APC. My blog runs fine with APC running, but for some reason it causes a bunch of ...
0
votes
1answer
500 views

APC module causing strange error

When I run php -v I get: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: undefined symbol: php_pcre_exec in Unknown on ...
3
votes
1answer
657 views

APC and “apc.gc_ttl” :: How Low is Too Low?

I currently have my apc.gc_ttl set to 600 to help keep fragmentation down. Since apc.gc_ttl just sets the time on cache for garbage collection, I don't see any harm in keeping it this low. However, ...
3
votes
2answers
2k views

Graceful upgrade from php53u to php54

We are running a CentOS 6 node using iuscommunity repo, and want to upgrade previously installed php53u to php54. However, this introduces a dependency conflict between php53u & php54. Does ...
1
vote
1answer
91 views

Will APC work with multiple versions of PHP

I have two versions of PHP running (5.2 & 5.3). I would like to know how to install two separate versions of APC for PHP, or is that even necessary? I can't find any info on alternative methods ...
1
vote
2answers
400 views

Optimize Apache - should I use APC / nginx?

I've read many posts regarding Apache optimization. While reading, two names repeated over and over again, nginx and php-apc. I've tried to understand which of them might be helpful for me, but i ...
1
vote
2answers
572 views

Using SuPHP on a VPS

I am running a site with a WordPress CMS. I tried to install W3 Total Cache to speed up the site files, but I didn't know which opcode to pick (I am on a VPS), so I put a support ticket in with my ...
0
votes
1answer
563 views

PHP-APC Installation

Trying to get my head around the way to install APC cache on PHP 5.3.13. That's a VPS with apache, configured preferably through whm/cpanel (although not only). I read a bunch of articles where it ...
3
votes
2answers
6k views

What does apc.mmap_file_mask really do?

I want to use APC in a shared environment, but the main problem is of course, opcode sharing. To overcome this, I've thought about using different apc.mmap_file_mask for each user (they're chrooted ...
0
votes
1answer
450 views

apc.stat causes 500 internal server error

When I turn off apc.stat it causes a 500 internal server error. I checked the apache error_log and it's something about: [Tue Jun 26 10:02:59 2012] [error] [client 127.0.0.1] PHP Warning: require(): ...
0
votes
1answer
510 views

Executed PHP files are stale unitl “touched” (Symlinked NFS mount as web root)

We have a PHP application that has 3 web servers (running Nginx and Apache). The web server's directory root are symlinked directories that point to an NFS mount. For example: web01 has an NFS mount ...
2
votes
1answer
274 views

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

How to upgrade APC to latest in Ubuntu?

I am running 10.10 version. I install APC as sudo apt-get install php-apc It gets APC (3.1.3p1) installed. The latest one is 3.1.10 right now. How can I update to latest one? Thanks.
2
votes
1answer
670 views

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 ...