We are looking into finding a way to get APC to only create one cache per account / site. This can be done with Fastcgi (last update 2006…) but with Fastcgid APC will have to create multiple caches for multiple processes run by the same account. To get around this problem, we have been looking into PHP-FPM PHP process manager allows multiple PHP processes to share a single APC cache. But from what I have [...]Continue Reading »
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 information… Done E: Unable to locate package php-apc Any idea how I gan get it installed? Asked by Josamoto Ubuntu Packages says is exists, but it’s in universe. Have you enabled that repo? Answered by kashani Check more discussion [...]Continue Reading »
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. Asked by gilzero You need to wait for it to turn up in the official Ubuntu repository, or install PEAR and use PECL/PEAR to install APC but I don’t know if that will work for you on Ubuntu Assuming you have PEAR/PECL [...]Continue Reading »
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 APC caching has website slower responses but it behave stable. When i switch APC on, Some about 1/20 request behave like it wait for some [...]Continue Reading »
What is the minimal amount of shm Space APC needs to operate properly? I’m currently running a WordPress blog on a VPS based on virtuozzo and I can’t set kernel shm to anything above 32 mb. Is there any way of telling APC to use “normal” memory instead of shared one (I’ve got plenty of ram…) My current apc.ini looks like this, yet apc tells met that it’s using just 30 MB (1 Segment(s) with [...]Continue Reading »
We’re running PHP 5.3.8 with APC 3.1.9 and are using opcode cache as well as the user cache. Currently we are experiencing regular crashes when cache size increases. It looks like some kind of memory leak in APC, because the values in Cached Files en Cached Variables in size don’t add up to the total cache size. The total cache size is much larger, like 1GB while the values added up make something like 400MB. [...]Continue Reading »
I am too frustrated with PHP APC caching system and I wanted to remove/disable it completely from my server. I am using PHP with Nginx installed on Debian Squeeze, is there any way of doing it ? Instead of removing APC, which will cause a massive performance hit, and effectively shoot yourself in the foot.. Try this: in /etc/php5/conf.d/apc.ini: extension=apc.so apc.shm_size=128 apc.shm_segments=1 apc.max_file_size=5M apc.num_files_hint=10000 apc.slam_defense = 0 apc.write_lock=1 You can increase apc.shm_size to a value [...]Continue Reading »
First of all, we’re not interested in the file cache at all for the time being, its the user cache that is important. We need to store information about database structures and query results in a cache for some applications we are developing. Our server has dozens of sites on it, some of which are controlled by customers with ftp access. I’m worried about a virtual host (one where we don’t control the php files) [...]Continue Reading »
EDIT: i’ve reinstalled with Ubuntu server and it’s not working as it should. Was never comfortable with Gentoo anyway I’m a Gentoo noob so please be gentle I’m trying to install APC on a Gentoo (2006) based LAMP stack provided on a VPS by my host. I’ve run emerge -av php5-dev/pecl-apc to install it, and it appears to be compiled etc properly. EDIT: Here’s the last several lines of the emerge: http://pastebin.com/MMjtjhrz I’ve added these [...]Continue Reading »
What is the correct way to install APC on WHM and check that is is working? The steps I have carried out so far: SSH on the server as root and run yum install pcre-devel In WHM go to PHP Configuration Editor, Advanced Mode* and change extension_dir from /usr/local/lib/php/extensions/no-debug-non-zts-20060613 to /usr/lib/php/extensions/no-debug-non-zts-20060613 In WHM go to Module Installers, click on mange next to PHP Pecl. Search for APC and install. (The last linetaht is returned says [...]Continue Reading »
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?