The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.
Questions tagged [apc]
963 questions
0
votes
2 answers
APC not working in php console
I am working on a phpwebsocket application. I have to store the instance of the phpwebsocket every where in my app. I found a solution, that beeing with APC. And it doesn't work.
The problem is that if I acces a file with apc_store('foo', 'bar')…

ioan
- 751
- 1
- 9
- 26
0
votes
1 answer
Switch from IIS 7.5 to Apache
I am concidering making a switch from IIS 7.5 to Apache.
I have already tried running PHP (FastCGI) on nginx but the performance was extremely bad compared to IIS 7.5
Because I am unable to find performance benchmarks (PHP) between IIS and Apache on…

Xen
- 442
- 1
- 4
- 13
0
votes
2 answers
APC 100% Fragmentation every time
My APC always hits 100% Fragmentation. My VPS has 1GB of ram, APC has 256mb allocated to it, but it's only using 100mb on avg(150mb max) out of the 256mb.
I have to restart php-fpm, the 100% Fragmentation slows down my site. Any recommendations?

user962449
- 3,743
- 9
- 38
- 53
-1
votes
1 answer
How to "actually" configure PHP APC?
I have VPS and it runs a wp blog plus a simple one page site. I am trying to use APC for blog. Before installing APC VPS was sending me alerts saying WP index.php was eating up everything. Now after installing APC these alerts have stopped. But when…

Kumar
- 5,038
- 7
- 39
- 51
-1
votes
1 answer
A variables cache system replacement for APC and Memcache?
As we knew that APC and Memcache is good cache system for storing value.
And APC user cache is much faster than Memcache to store simple, tiny size value, because APC is a local-based cache system without creating a connection as Memcache.
But I…

Angolao
- 986
- 1
- 15
- 27
-1
votes
1 answer
Migrating von APC to APCU in php application
the content management framework MODX provides the option to use APC as caching engine. I figured out that I might be able to migrate that to APCu.
I copied and edited all code so that i have a second option now that offers APCu as cache engine. As…

Guido Gallenkamp
- 169
- 6
-1
votes
2 answers
Magento: Using APC leads to SimpleXML PHP error
I want to use APC with Magento. I added the folling code in app/etc/local.xml:
apc
MAGE_
but I am getting the error below.
APC is already enabled on the server and working with other…

webkul
- 2,836
- 10
- 47
- 61
-1
votes
1 answer
What are the advantages of HHVM and APC/other opcaches?
I know different situations call for different uses, but what are the advantages of using HHVM over an Opcache, like APC, for instance?

Robert Dundon
- 1,081
- 1
- 11
- 22
-1
votes
2 answers
What is the real usage of apc_cas() function?
I wonder what a real life example that I need to use the apc_cas function in PHP.

Waseem Senjer
- 1,026
- 3
- 14
- 25
-1
votes
1 answer
Where to find the php_apc accelerator for [Xampp, Wampp] for Symfony2 apps works faster?
Recently I downloaded from http://symfony.com/download the latest version (v 2.7) and among the requirements for setting a robust dev environment is necessary to enable or install accelerators.
Where to find a binary compiled and the step-by-step…

Felix Aballi
- 899
- 1
- 13
- 31
-1
votes
1 answer
PHP APC Cache for PHP 5.4.14
Hello I'm looking for APC extension in my PHP version and I can not find a source to download.
My php version it 5.4.16
My System it windows server 2008.

user3571514
- 91
- 1
- 1
- 6
-1
votes
1 answer
My Cache solution to store data before they are sent to the DB is unreliable
So I have a website with flash games, each time a user gets a answer correct or wrong the values and the timestamps are sent to the database.
I wanted to reduce the number of accesses to the database so I made a solution with APC Cache, where it…

Condward
- 135
- 3
- 13
-1
votes
1 answer
Avoid Alternative PHP Cache (APC) concurrency issues
I'm storing lots of variables in APC per second. At the same time, I have a CRON task which continuously executes a php process for reading the variables from APC, deleting it from APC and storing it in database. The php script get all variables…

mark
- 9
- 1
-1
votes
1 answer
magento with apc under win7x64
i want to speed up magento with apc under windows
i'm using xampp 3.1.0 and downloaded a precompiled apc from
http://www.dragffy.com/php-extensions (PHP Alternative PHP Cache APC 3.1.13 built against PHP 5.4.7 x86 VC9) and added it to php.ini
I'm…

wutzebaer
- 14,365
- 19
- 99
- 170
-2
votes
1 answer
APC Network Powerchute - Vmware - ESXi Host is inaccessible
PowerChute deployed from ova one instance works well.
I have connection issue with 2 of my 3 vmware hosts.
Everything have been checeked certificates recreated with correct domain.
All services enabled, timeout vmprioritization set to 90000.
I have…

Piotr
- 1
- 1