apc Questions

0

we are using php5.4, apc 3.1.13 with apache2 and mod_php and have every now and then the problem that apc opcode cache seems to forget cached data after a apache reload (for example after a logrota...
Stickpin asked 24/11, 2014 at 12:38

4

I have been dealing with this problem all day and it is driving me insane. All Google results and searches here lead to dead ends. I hope someone can work with me to provide a solution for myself a...
Overweigh asked 20/7, 2011 at 21:15

4

Solved

I know that apc_store() overwrites the key if it already exists, so I know the difference, my question is just: What's the better method/best practice?
Chrysoberyl asked 5/4, 2011 at 9:41

1

Several processes access shared memory, locking it with the mutex and pthread_mutex_lock() for synchronization, and each process can be killed at any moment (in fact I described php-fpm with APC ex...
Babettebabeuf asked 29/9, 2014 at 16:48

2

Solved

After 3 hours of searches and differents failed tries, I'm asking help here .. .:( My configuration: PHP 5.4.12 Compiler MSVC9 OS: W7 Home premium edition service pack 1 Architecture: ...
Rhinology asked 20/2, 2014 at 2:11

3

Solved

I have an m3.xlarge EC2 instance that I updated to PHP 5.5.11 today. With this update, it overwrote php55-pecl-apc with php55-pecl-apcu. After reading and experimenting, my understanding is that ...
Flatfish asked 30/4, 2014 at 7:56

4

Solved

Is there a way to fetch and print, all the data stored in apc's storage? I need to do so for testing and debugging purposes. I know I can retrieve a specific data by doing apc_fetch(id), but I do...
Ramonitaramos asked 29/5, 2012 at 11:42

12

Solved

I've occasionally run up against a server's memory allocation limit, particularly with a bloated application like Wordpress, but never encountered "Unable to allocate memory for pool" and having tr...
Zarger asked 16/9, 2010 at 2:33

6

Solved

I've read about APC that it speeds up multiple php file sites. So I have this particular project in PHP with many files and i discover that require_once and parsing only class definitions (without ...
Hygrophilous asked 30/9, 2009 at 0:37

2

Solved

Can I use apc opcode cache if I can (not must) have unique content for each visitor on same page? I'm not sure I understand how opcode working. If only save php result to cache and serving it like ...
Dorren asked 15/9, 2013 at 18:49

3

Solved

I've recently upgraded my Symfony2 application to 2.1 and migrated it to a new server, so I figured I'd configure Capifony to make deploying simpler. Everything has gone great except for the fact t...
Unexceptional asked 12/10, 2012 at 11:26

2

Solved

On occasion, maybe once a day, our PHP web server using APC will raise an E_WARNING error that my error handler catches and logs. It looks similar to this: require_once() [function.require-once]: ...
Charlton asked 4/8, 2011 at 7:14

2

Solved

At work, we've recently started designing an application to me "large scale" (we're engineering for the potential to serve up many millions of hits a day). One of the senior devs and the sysadmin h...
Hopeless asked 11/9, 2010 at 20:12

5

I have installed 'WampServer2.1e-x32' stack with addon version of php 5.2.11 . I downloaded apc3.0.19.dll and placed under the directory and required information in php.ini. To make it work. Resta...
Hematuria asked 12/7, 2011 at 14:31

1

Solved

Since PHP 5.5 broke APC in favor of their own cache, I'm trying to get my Symfony2 project running with APCu instead, and it doesn't like it: $ php app/console cache:clear --env=prod --no-warmup PH...
Gurolinick asked 11/1, 2014 at 10:20

7

I read this article: http://www.mysqlperformanceblog.com/2006/09/27/apc-or-memcached/ from way back when.. I want to get the best caching engine available so that my application is really fas...
Doloroso asked 2/5, 2009 at 15:31

5

Solved

From my point of view, both PHP and Java have a similar structure. At first you write some high-level code, which then must be translated in a simpler code format to be executed by a VM. One differ...
Aryn asked 23/5, 2012 at 8:58

2

We try to deploy APC user-cache in a high load environment as local 2nd-tier cache on each server for our central caching service (redis), for caching database queries with rarely changing results,...
Importunate asked 7/11, 2013 at 22:30

3

Solved

I've recently started using APC cache on our servers. One of the most important parts of our product is a CLI (Cron/scheduled) process, whose performance is critical. Typically the batchjob consist...
Valencia asked 5/4, 2012 at 13:17

5

Solved

How would I use the apc.filters parameter in APC opcode caching to not cache certain paths? For example, I want caching to be active for anything under the path: "/var/www/vhosts" and exclude pat...
Cholla asked 26/10, 2009 at 17:50

12

Solved

Im doing research on which one of these to use and I can't really find one that stands out. Eaccelerator is faster than APC, but APC is better maintained. Xcache is faster but the others have easie...
Ashcroft asked 30/5, 2009 at 23:43

2

Solved

I tried installing APC with pecl on OS X Lion (sudo pecl install apc) and it complained about a missing pcre.h file: In file included from /private/tmp/pear/temp/APC/apc.c:44: /usr/include/php/ext...
Madeira asked 26/5, 2012 at 16:27

5

Solved

I want to install the APC extension for PHP. I've got to this page and I'm a little stuck. I've downloaded a file from here, which gives me a APC-3.1.9.tgz file. I've extracted the file. However f...
Pyridoxine asked 16/8, 2011 at 20:28

2

Solved

You would think this would be super-easy to find, but I can't seem to.
Exclude asked 5/5, 2011 at 0:30

6

Solved

I am running latest Zend Community Server and want to learn Symfony2 but the config.php gives me an error that my APC (alternative php cache) is deprecated and I have to upgrade it. I'm running OS...
Magnetron asked 9/10, 2011 at 14:9

© 2022 - 2024 — McMap. All rights reserved.