安装PHP APC 报错!
阿神
阿神 2017-04-10 14:49:01
0
2
427
( ! ) 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 5.3

下面是PHP.ini 中APC配置,同样配置在另一部电脑中可以使用:

[APC]
extension=php_apc.dll
apc.rfc1867 = on
apc.max_file_size = 100M
upload_max_filesize = 100M
post_max_size = 100M
阿神
阿神

闭关修行中......

reply all(2)
小葫芦

强烈建议使用Opcache,而不是APC!引用Laruence大神的原话:

PHP5.5开始,Opcache进入PHP源代码树,APC我们也就不在做更新了

刘奇

和Opcache冲突导致

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template