( ! ) Notice: Unknown: 1. h->opened_path=[null] h->filename=[D:/wamp/www/index.php] in Unknown on line 0
( ! ) Notice: Unknown: apc_cache_find [74316004] in Unknown on line 0
( ! ) Notice: Unknown: 2. h->opened_path=[D:\wamp\www\index.php] h->filename=[D:/wamp/www/index.php] in Unknown on line 0
( ! ) Notice: Unknown: apc_cache_make_file_entry: entry->data.file.filename is [D:\wamp\www\index.php] in Unknown on line 0
( ! ) Notice: Unknown: Inserting [D:\wamp\www\index.php] in Unknown on line 0
具体原因没有找到,只是找到一个可以不出现问题的版本,提供给大家
php_apc-3.1.10-5.3-vc9-x86.rar
[linux]
下载地址:http://pecl.php.net/package/APC
下了最新的3.0.16-stable,解压,进入目录
/usr/local/php/bin/phpize
./configure --enable-apc --enable-apc-mmap
--with-php-config=/usr/local/bin/php-config
make
make install
cp /usr/local/lib/php/extensions/no-debug-zts-20060613/apc.so
/usr/local/lib/php/extensions/apc.so
chmod 755 /usr/local/lib/php/extensions/apc.so
配置/etc/php.ini 末尾加入
extension=apc.so
apc.enabled = 1
apc.cache_by_default = on
apc.shm_segments = 1
apc.shm_size = 64
apc.ttl = 7200
apc.user_ttl = 7200
apc.num_files_hint = 0
apc.write_lock = On