• Nginx + PHP-FPM Randomly Gives 502 2018-12-14

    My site is working fine with Nginx + PHP-FPM but randomly it gives 502 error. Environment Details OS - CetnOS 6 Nginx PHP-FPM (php 5.4) APC (Code Cache APC 3.1.13 beta) Memcache (data cache) In php-fpm pm.max_children = 200 pm.start_servers = 40 pm.m

    Tags: php, apc, nginx
  • PHP APC suddenly corrupts source files 2015-03-17

    I have production app servers on AWS Ubuntu doing millions of hits daily. The source files are synced from the main app server to S3 and then synced to secondary app servers when the servers start and upon changes. This was working for a long time (m

    Tags: php, apc
  • Bypass page cache created by W3 Total Cache 2014-12-11

    I'm using W3 Total cache plugin setting page cache using the APC module. Thing is that since I've enabled the page cache cookies I was setting in my theme header stopped being set, also reading existing cookie and redirecting by it's value stopped wo

    Tags: php, wordpress, caching, apc
  • Does APC key length concern the application performance? 2014-08-05

    As I've said in the title of the question, I want to know if APC objects' key length concern to the application performance. I know that reddis long keys penalizes the application performance but I don't know if the same applies to APC. Thanks!

    Tags: performance, php, caching, apc
  • APC and PHPMyAdmin does't work together 2014-05-09

    Some times ago I installed APC extension on my VDS. After it, when I'm trying to open PHPMyAdmin, I see this text: "502 Bad Gateway". Other scripts work well. Memory of VDS: 6GB. WebServer: nginx/0.7.67 Config of APC: extension=apc.so apc.enabled = O

    Tags: php, apc, nginx, phpmyadmin
  • File uploads in IE8 and IE9 2014-02-06

    This question may have been asked multiple times, but I haven't been able to find a proper answer. I'm developing a website that also includes an image upload. Using HTML5 APIs I have been able to create individual progress bars for every image uploa

    Tags: php, upload, internet explorer, file upload, apc
  • Install APC on centos - /etc/php.d/apc.ini: No such file or directory 2013-09-03

    I am trying to install APC on my vps. I followed these instructions which seemed to be found on several websites: yum install php-pear php-devel httpd-devel pcre-devel gcc make pecl install apc Next there is the following command which failed: echo "

    Tags: linux, apc, centos
  • Selective Disable APC caching 2012-12-05

    I installed APC on my VPS and it works great with W3 Cache wordpress plugin. My problem is that there is one database in MySQL which is pinged by client end every few seconds to see if there are new updates. These db contains certain time sensitive i

    Tags: php, wordpress, apc
  • APC not working in php console 2012-05-02

    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') from

    Tags: php, console, apc, wamp, websocket
  • Switch from IIS 7.5 to Apache 2012-05-01

    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

    Tags: performance, apache, iis, switch statement, apc
  • Website loading speed - slow html loading

    Website loading speed - slow html loading 2012-04-28

    Who can help me. I have a webshop running on magento A VPS server with apache 2. I have APC and memcache, varnish cache and fooman speedster running. The main page has acceptabel loading times ... But when i go to a category page it takes a

    Tags: performance, html, apache, apc, magento
  • How to make APC not cache a specific php page? 2012-04-27

    Is there a way to tell APC not to cache a php page by adding a piece of code to the php page itself? or is the only way via the php.ini file?

    Tags: php, caching, apc
  • APC: apc_fetch returns false often, but sometimes success 2012-04-27

    APC Version : 3.1.9. PHP Version : 5.2.17 i use Litespeed DEFAULT PHP: 5 PHP4 SAPI: cgi PHP5 SAPI: dso SUEXEC: enabled I create 2 file. First file, set apc var : <?php $bar = 'BAR'; apc_store('foo_test', $bar); echo 'stored'; ?> Second file, tr

    Tags: php, caching, apc, litespeed
  • Call to undefined method after upgrading to PHP 5.4.0 2012-04-26

    Stumped by this one. This code is giving me PHP Fatal error: Call to undefined method MyObject::helloWorld() But only the second time I run it, the first time it runs fine. class MyObject { function __construct() { echo("creating MyObject..."); } pub

    Tags: php, apc, fatal error
  • How to use APC on a periodically updated system? 2012-04-24

    we have a system written in PHP stored on the production server. We have APC installed also. Our system uses a special local repository on Mercurial and is periodically updated - some scripts are modified by developers, according to customer demands.

    Tags: apc
  • does PHP APC as local object store have any limits besides storage size? 2012-04-23

    I'm using PHP APC on production servers of a web service with 10M's hits/day successfuly for a long time. I'm considering offloading much more data to the APC local cache. Theoretically it looks to me that since APC call is mainly a local memory acce

    Tags: php, apc
  • CodeIgniter cache driver ignoring backup adapter 2012-04-22

    I'm trying to use the cache driver which CodeIgniter supplies in their PHP framework. However, it seems to fully ignore the backup adapter. If I use: $this->load->driver('cache', array('adapter' => 'apc', 'backup' => 'dummy')); Then I ass

    Tags: php, caching, codeigniter, apc, fatal error
  • PHP 5.4 + Nginx + APC = 502 Bad Gateway? 2012-04-22

    I recently upgraded to PHP 5.4 and a month ago, APC wasn't compatible, so I downgraded back to PHP 5.3 and everything worked fine and dandy. However, I'd like to take advantage of the new features of PHP 5.4 and I cant seem to get it to work with my

    Tags: php, apc, nginx, php fpm
  • PHP Apc : how to view cache entries in APC 2012-04-14

    I have php 5.3.6-13ubuntu3.6. I installed apc by: $ sudo apt-get install php-apc ( though i found many other methods later). I want to see my cache entries and other info. I googled and found finding and placing apc.php file in /var/www/ will do what

    Tags: php, apache, apc
  • Magento 1.4.2 + APC: Clearing cache has no effect on changing settings 2012-04-13

    We got a server with Magento 1.4.2 CE, APC 3.1.9 is installed and Magento is configured to use it as backend cache. We experienced a weird behaviour with caching. Every change we make in the backend is not displayed until apache2 was restarted/APC op

    Tags: apc, magento

Copyright (C) dskims.com, All Rights Reserved.

processed in 4.815 (s). 9 q(s)