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
0
votes
1 answer

Incrementing values, alternate way of doing this that won't use MySQL

I need to count impressions of a .php script that is accessed via web. Right now I do this in a 1 line MySQL table and just increment the value. This works fine usually but when the server has traffic bursts (hundreds of requests/second) everything…
Alex Flo
  • 1,711
  • 3
  • 17
  • 23
0
votes
1 answer

Configure APC for maximum hit rate

I'm currently running php5 with APC, the latter with default configuration. However after setting up munin to monitor APC, I'm surprised by the results: apc.shm_size: 30 apc.gc_ttl: 3600 apc.ttl: 0 Used: 14MB Request rate: 100…
0
votes
1 answer

apc.filters on Windows

I set up OwnCloud on my Windows Server 2008 box. I run my blog on the machine as well and I wanted to set up APC. My blog runs fine with APC running, but for some reason it causes a bunch of javascript errors with OwnCloud. I tried to set up…
0
votes
1 answer

PHP/APC Canonicalize not working as expected

Basic Info: APC Version 3.1.13 PHP Version 5.4.7-1~dotdeb.0 APC Host pcgamingwiki.com (li263-94) (173.255.253.94) Server Software nginx/1.2.4 In my config, I have apc.stat = 0 and apc.Canonicalize = 1 apc.php:…
user554005
  • 143
  • 2
  • 6
0
votes
1 answer

APC module causing strange error

When I run php -v I get: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: undefined symbol: php_pcre_exec in Unknown on line 0 This isn't my first rodeo. I've setup APC…
clifgriffin
  • 101
  • 2
0
votes
1 answer

PHP-APC Installation

Trying to get my head around the way to install APC cache on PHP 5.3.13. That's a VPS with apache, configured preferably through whm/cpanel (although not only). I read a bunch of articles where it was suggested to use FastCGI with APC, as suPHP…
Leo
  • 141
  • 1
  • 2
0
votes
1 answer

Strange PHP Warning (Unable to load dynamic library: no-debug-non-zts-20100525)

I temporarily set apc.enable_cli=1 in apc.ini, then run php -r "apc_clear_cache();" in the terminal to clear APC cache but this is what I got: PHP Warning: PHP Startup: Unable to load dynamic library…
MultiformeIngegno
  • 1,627
  • 9
  • 24
  • 31
0
votes
1 answer

APC (trunk) Install With PHP 5.4 Failing

Has anybody successfully installed APC on php 5.4? According to another thread I found on StackOverflow, seems possible using the latest trunk. I grabbed trunk, phpize, ./configure, but when I try and run make I get the following errors: >/bin/sh…
Justin
  • 5,008
  • 19
  • 58
  • 82
0
votes
1 answer

apc.stat causes 500 internal server error

When I turn off apc.stat it causes a 500 internal server error. I checked the apache error_log and it's something about: [Tue Jun 26 10:02:59 2012] [error] [client 127.0.0.1] PHP Warning: require(): Filename cannot be empty in…
Jürgen Paul
  • 1,225
  • 4
  • 14
  • 21
0
votes
1 answer

Executed PHP files are stale unitl "touched" (Symlinked NFS mount as web root)

We have a PHP application that has 3 web servers (running Nginx and Apache). The web server's directory root are symlinked directories that point to an NFS mount. For example: web01 has an NFS mount at /data/webapp, which is symlinked to…
mmattax
  • 1,284
  • 7
  • 19
  • 30
0
votes
2 answers

nginx + php-fpm + apc ... compression?

I have a VPS running nginx 1.1.19, php-fpm 5.3.10, and APC 3.1.9. The server is primarily running PHP scripts (vB, SMF, IPB) I'm also using Cloudflare as a CDN if that matters. From what I can tell, there are 3 options for compression and I'm not…
nuceman
  • 51
  • 1
  • 3
0
votes
1 answer

APC + PHP-FPM Memory fragmented even with apc.user_ttl = 0

I'm running 5.3.9-1~dotdeb.3, with APC 3.1.9. APC cache gets totally fragmented after a 2hours of running. Isn't the apc.user_ttl = 0 supposed to keep the files cached until APC is restarted - and prevent this much fragmentation? What am I doing…
bureq
  • 1
  • 1
0
votes
1 answer

APC keeps flushing

See my APC here: http://www.animefushigi.com/apc.php If you keep hitting the Refresh button on the top left, watch the number of "Hits" and the "Start Time" and "Uptime" values. They all go up and down. I find this quite strange, normally all 3 of…
Greatestswordsman
  • 387
  • 1
  • 5
  • 17
0
votes
1 answer

Missing Dependency issue when trying to install apc extension for php

I'm trying to install apc extension for php according to this tutorial: http://2bits.com/articles/installing-php-apc-gnulinux-centos-5.html but can't successfully run the first command. Here is what I get: Loaded plugins: fastestmirror Repository…
Levani
  • 245
  • 4
  • 14
0
votes
2 answers

How to make APC work with PHP

I have installed APC for php using yum install pcre-devel pecl install apc restorecon /usr/lib64/php/modules/apc.so Everything installed correctly but still i can't see APC module in phpinfo
Mirage
  • 541
  • 4
  • 10
  • 25
1 2 3
8
9