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...
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?
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...
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: ...
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 ...
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...
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 ...
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 ...
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...
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]: ...
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...
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...
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...
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...
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...
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,...
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...
2
Solved
You would think this would be super-easy to find, but I can't seem to.
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.