最後更新: 2020-09-23
APCu 介紹
APCu is a data cache, and it is available in most Linux distributions. (A local cache for systems)
Install
Centos 7
# repos: remi
yum install php-pecl-apcu
yum install apcu-panel
Centos 6
yum install php55u-pecl-apcu
U14.04
apt-get install php5-apcu/trusty-
Setting
/etc/php.d/40-apcu.ini
apc.enabled=1 apc.shm_size=128M
/etc/httpd/conf.d/apcu-panel.conf
# APC Control Panel Alias /apcu-panel /usr/share/apcu-panel ... ACL ...
/etc/apcu-panel/conf.php
define('ADMIN_USERNAME','apc'); // Admin Username define('ADMIN_PASSWORD','xxxx'); // Admin Password - CHANGE THIS TO ENABLE!!!