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
1
vote
1 answer

Install apc in production environment

Executing a pecl search apc returns the following: Package Stable/(Latest) Local APC 3.1.14 (beta) Alternative PHP Cache And according to here: http://pecl.php.net/package/APC 3.1.14 is still beta. So, should I go ahead and install that…
w0rldart
  • 217
  • 1
  • 2
  • 14
1
vote
1 answer

Do you need to recompile PHP to use APC?

I have a custom PHP installation which I compiled because the packaged version was too old for my project. I would need to install APC, do I need to recompile PHP to add APC module or is there another way?
userD
  • 111
  • 1
1
vote
1 answer

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 connection while reading response header from…
Harikrishnan
  • 1,159
  • 2
  • 14
  • 32
1
vote
0 answers

APC using mod_fastcgi only caching apc.php

I'm on Debian 6.06, using Plesk 11.09, with Apache2 and nginx as reverse proxy. I'm trying to setup the APC, but it seems not to work properly. The APC Webinteface, apc.php, tells me, that APC is only caching apc.php. I managed to get fastcgi…
Twain
  • 11
  • 1
1
vote
1 answer

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 increasing the value of "apc.shm_size" reduce…
user142741
  • 11
  • 1
  • 3
1
vote
0 answers

Need help optimizing a LEMP stack on a 4GB dedicated server

Recently i got a project i'm working in financed by a friend. So he gave me access to a 60mbps dedicated connection link and a HP Compaq 8200 Elite. The HP is just a desktop, but i'm using it as a server, since well... i can't afford a new VPS right…
1
vote
1 answer

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 for installing APC other than a simple pecl install…
nicholas.alipaz
  • 155
  • 2
  • 7
1
vote
2 answers

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 could not find a definite answer. I need my server to…
Kuf
  • 449
  • 2
  • 8
  • 25
1
vote
2 answers

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 host. The host came back telling me the…
Nick
  • 113
  • 5
1
vote
2 answers

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.
gilzero
  • 439
  • 4
  • 9
  • 20
1
vote
3 answers

APC minimal shm size

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…
schneida
  • 339
  • 1
  • 4
  • 16
1
vote
4 answers

Disable or Remove APC

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 ?
Vineet Sharma
  • 161
  • 1
  • 3
  • 6
1
vote
3 answers

Enable APC User Cache on certain sites only (Apache)

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…
DaedalusFall
  • 197
  • 2
  • 12
0
votes
1 answer

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 but nothing seems out of the…
HypeWolf
  • 113
  • 5
0
votes
0 answers

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 only php cli for testing. I've two dedicated VM…
Ergec
  • 608
  • 1
  • 9
  • 25
1 2 3
8 9