apc Questions
11
Solved
We're randomly getting some very strange error logs. They don't happen on every page hit, even with the same parameters/actions/etc, and they don't seem repeatable, each one is different in its cra...
Leticialetisha asked 1/9, 2011 at 15:42
28
Solved
I think that my server became slow since I installed XDebug.
So, in order to test my hypothesis I want to disable XDebug completely.
I've been searching for tutorials on how to do this but I can't ...
2
Solved
I am trying to set up PHP 8.2 with APCu extension on Windows.
However, it seems that PHP 8.2 compatibility was only added to the latest APCu version 5.1.22 (released 2022-09-19), and the correspond...
6
Solved
Summary:
Apache 2.4's mod_proxy does not seem to be passing the Authorization headers to PHP-FPM. Is there any way to fix this?
Long version:
I am running a server with Apache 2.4 and PHP-FPM. I...
2
I'm using Doctrine 2's result cache on a query retrieving the number of new messages of a user (messaging app):
$query->useResultCache(true, 500, 'messaging.nb_new_messages.'.$userId);
I tr...
Eddyede asked 23/6, 2012 at 18:12
19
Solved
I need to clear all APC cache entries when I deploy a new version of the site.
APC.php has a button for clearing all opcode caches, but I don't see buttons for clearing all User Entries, or all Sys...
Banka asked 26/5, 2009 at 15:0
11
I'm trying to update a variable in APC, and will be many processes trying to do that.
APC doesn't provide locking functionality, so I'm considering using other mechanisms... what I've found so far...
2
Solved
I have done this
sudo apt-get install php-pear php5-dev make libpcre3-dev
and then
sudo pecl install apc
But I'm getting this error:
^
make: *** [apc_compile.lo] Error 1
ERROR: `make' faile...
4
Solved
I used to think caching was very hard to install so I've never done it... After reading about APC, it seems pretty easy to install. I always thought I would have to modify lots of PHP code inside m...
7
I have seen this tutorial for ubuntu.
http://thereluctantdeveloper.com/2015/12/quick-and-dirty-php-70-set-up-on-ubuntu-1404-with-apcu
It's not clear for me after step(git clone).
I need apcu exte...
5
I installed APC on my ubuntu 11.04 linux and I want to make some performance benchmarks to see what's the speed improvement over PHP without APC but I don't know how to disable/remove the APC.
I t...
Caesura asked 3/7, 2012 at 11:30
4
How can I install APCu in Windows?
I found this. But I need a solution for Windows.
I use PHP 5.5.6 (I have the XAMPP package).
6
Solved
How to install APC under PHP 5.6?
APC is installed
apt-get install php-pear php5-dev make libpcre3-dev
pecl install apc
# locate apc.so
/usr/lib/php5/20100525/apc.so
APC is added to php.ini
e...
6
Solved
How would I reference the current server in a Capistrano task? I want to curl a local file to clear the APC cache but the server does not listen on localhost so I need the server's IP address.
For...
Heartwarming asked 15/6, 2012 at 14:49
7
Since I installed APC for PHP with PECL I get sometimes these errors: Cannot redeclare class xxx
xxx changes from time to time. I could disable APC but APC improves the performance great! Is there...
7
Solved
I've upgraded my MacBook to Mavericks and ruined my development environment. The problem I have right now is that my pear/pecl still tries to install for my previous (5.3) version of PHP instead of...
Illuse asked 24/10, 2013 at 9:13
4
Solved
I would like to use PHP 7. However there seems to be no option for key-value memory caching.
APC is discontinued.
XCache will not be available for PHP 7 for some time.
Is there an available al...
4
Solved
I have issue with PHP7 and APCu. After installation I got this error:
Fatal error: Call to undefined function Doctrine\Common\Cache\apc_fetch()
APCu is 100% enabled, I see it in the phpinfo();...
2
Solved
I'm having some hard time getting PHP APC to work. Here's my test code:
<form>
<input type="text" name="apc">
<input type="submit">
</form>
<?php
apc_store('foo','FOO...
3
Solved
Here my config
extension = apc.so
apc.enabled = 1
apc.shm_size = 128M
apc.shm_segments = 1
apc.gc_ttl = 7200
apc.ttl = 0
apc.num_files_hint = 1024
apc.file_update_protection = 2
apc.max_file_size...
Teplitz asked 28/12, 2011 at 8:10
1
Solved
I am trying to optimize my Symfony application performances and I followed these posts:
https://symfony.com/doc/2.8/performance.html
Symfony2 Slow Initialization Time
I am "worried" about these...
Tabbie asked 27/11, 2017 at 9:16
4
Solved
I have this issue when I add a column to one of my entities and release it for production I have to restart Apache in order to clear Doctrine metadata APC/APCU cache.
I have tried all commands bel...
Maggiore asked 11/10, 2016 at 15:53
1
I read all over internet that APC will be included in PHP6. However the PHP6 project was cancelled and they skipped one major version to avoid confusion, which then again causes more confusion. Thi...
2
I'm writing a wordpress plugin where the CSS is compiled dinamically and thus i've implemented various strategies to cache it. As of now the first choice for caching is APC if it's installed.
This ...
2
Solved
I am trying to compile APCu cache extension using make && make install.
I get a compilation error regarding not being able to find zend_string or zend_long. Do you guys know what extension...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.