apc

php installation error

耗尽温柔 提交于 2019-12-01 01:17:37
问题 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. Restarted wamp server and navigated to phpmyadmin and here are some error which I had never seen uptil now :(. Notice: Unknown: 1. h->opened_path=[null] h->filename=[C:/wamp/apps/phpmyadmin3.3.9/index.php] in Unknown on line 0 Notice: Unknown: 2. h->opened_path=[C:\wamp\apps\phpmyadmin3.3.9\index.php] h-

How stable is APC 3.1.x?

主宰稳场 提交于 2019-12-01 00:27:43
Is anyone using APC 3.1.x in production on a high volume site? The 3.1 series is labeled a "beta" release, but it has some features that we'd really like to have (specifically, performance improvements for apc_clear_cache('user') which didn't make 3.0.19) So: are you successfully using APC 3.1.x on a very active site? (more than 1 PHP request per second [not including images/js/css]) Any signs of instability at all? I have it running on a production website. For several days - no crushes. I am using Apache worker + php-fpm. File Cache Information Cached Files 0 ( 0.0 Bytes) Hits 4456420 Misses

How stable is APC 3.1.x?

回眸只為那壹抹淺笑 提交于 2019-11-30 19:12:39
问题 Is anyone using APC 3.1.x in production on a high volume site? The 3.1 series is labeled a "beta" release, but it has some features that we'd really like to have (specifically, performance improvements for apc_clear_cache('user') which didn't make 3.0.19) So: are you successfully using APC 3.1.x on a very active site? (more than 1 PHP request per second [not including images/js/css]) Any signs of instability at all? 回答1: I have it running on a production website. For several days - no crushes

在RHEL/CentOS 6.3/5.6和Fedora 17/12上安装APC

岁酱吖の 提交于 2019-11-30 18:39:37
在RHEL/CentOS 6.3/5.6和Fedora 17/12上安装APC(可选的PHP缓存) APC (可选的PHP缓存)是一个免费,开源的PHP代码缓存。这个模块的主要目的是提供一个健壮的框架来缓存和优化PHP代码。 在Linux上安装和开启PHP APC 该说明文档描述了如何在 RHEL 6.3/6.2/6.1/6/5.8/5.6 , CentOS 6.3/6.2/6.1/6/5.8/5.6 和 Fedora 17,16,15,14,13,12上 使用 PECL 命令从代码仓库中下载,安装以及开启 APC 。 安装APC的依赖包 首先,我们需要安装所需的软件包,pecl,phpize和apxs命令,并使用YUM包管理工具来安装APC。 yum install php-pear php-devel httpd-devel pcre-devel gcc make 使用PECL安装APC 现在我们已经安装了所有必须的软件包以用来安装APC。接下来我们使用PECL命令来安装它。安装过程中请选择默认的设置值。 pecl install apc 输出如下: WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update

What does the cryptic GC cache entry mean

≡放荡痞女 提交于 2019-11-30 12:58:45
问题 Time to time, I receive this strange warning message. It is usually gone on page reload. What does that mean. I googled but to no avail. Warning: include(): GC cache entry '/.../...class.php' (dev=2049 ino=37120489) was on gc-list for 3840 seconds in /.../...class.php on line 111 回答1: Definitely this issue goes from APC, source code from package apc-3.1.6-r1. When item is inserted into user cache or file cache, this function is called. static void process_pending_removals(apc_cache_t* cache

Why would apc_store() return false?

旧巷老猫 提交于 2019-11-30 11:38:36
The documentation on php.net is very spotty about causes of failure for APC writes. What kind of scenarios would cause a call to apc_store() to fail? There's plenty of disk space available, and the failures are spotty. Sometimes the store operation will succeed and sometimes it'll fail. out of memory (allocated memory for apc, that is) For php cli it needs to be enabled with another option: apc.enable_cli=On In my situation it was working when running from a webbrowser, but not when executing the same stuff with php cli. I had exactly the same situation. I migrated my code from using Cron Jobs

How does memcache with MySQL work?

 ̄綄美尐妖づ 提交于 2019-11-30 10:33:32
问题 I am trying to understand (and probably deploy) memcached in our env. We have 4 web servers on loadbalancer running a big web app developed in PHP. We are already using APC. I want to see how memcached works? At least, may be I don't understand how caching works. We have some complex dynamic queries that combine several tables to pull data. Each time, the data is going to be from different client databases and data keeps changing. From my understanding, if some data is stored in cache, and if

APC (Alternate PHP Cache) Throwing Lots of PHP Notices

一笑奈何 提交于 2019-11-30 05:46:14
问题 I got APC 3.1.9 setup on my Linux box running PHP 5.3.6. Caching works fine but I have noticed in our error logs, that APC throws a lot of PHP notices, such as: [Wed Jun 29 01:08:56 2011] [error] [client ip] PHP Notice: require_once() [function.require-once]: apc_cache_find [16085954]\n in /path/to/file on line 75, referer: /path/to/referer/file [Wed Jun 29 01:08:56 2011] [error] [client ip] PHP Notice: require_once() [function.require-once]: 1. h->opened_path=[/path/to/file] h->filename=[

What does the cryptic GC cache entry mean

萝らか妹 提交于 2019-11-30 04:40:26
Time to time, I receive this strange warning message. It is usually gone on page reload. What does that mean. I googled but to no avail. Warning: include(): GC cache entry '/.../...class.php' (dev=2049 ino=37120489) was on gc-list for 3840 seconds in /.../...class.php on line 111 Definitely this issue goes from APC, source code from package apc-3.1.6-r1. When item is inserted into user cache or file cache, this function is called. static void process_pending_removals(apc_cache_t* cache TSRMLS_DC) { slot_t** slot; time_t now; /* This function scans the list of removed cache entries and deletes

apc_store isn't working between requests

此生再无相见时 提交于 2019-11-30 04:22:20
问题 $bar = 'BAR'; apc_store('foo', $bar); var_dump(apc_fetch('foo')); Within one request this work. Now If i try to do a var_dump(apc_fetch('foo')); on another request it prints: bool(false) Any help? I am on gentoo with PHP 5.2, APC-3.1.9 Here what phpinfo() knows about APC: APC Support enabled Version 3.1.9 APC Debugging Disabled MMAP Support Enabled MMAP File Mask no value Locking type pthread mutex Locks Serialization Support php Revision $Revision: 308812 $ Build Date May 27 2011 13:14:20