I'm trying to get APC OpCode Cache working along with:
PHP 5.4.30, APC 3.1.15-dev, and PHP-FPM PHP 5.4.30 (fpm-fcgi)
However my "System Cache Entries" on my apc_stats.php is ALWAYS EMPTY
I have the following configuration:
* On /etc/httpd/conf.d/fastcgi.conf
User apache
Group apache
LoadModule fastcgi_module modules/mod_fastcgi.so
FastCgiWrapper Off
<IfModule mod_fastcgi.c>
DirectoryIndex index.html index.shtml index.cgi index.php
AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /php-fpm/php5-fcgi
FastCgiExternalServer /php-fpm/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization -idle-timeout 3600
</IfModule>
* On /etc/php-fpm.d/www.conf
[www]
listen = 127.0.0.1:9000
pm = dynamic
pm.start_servers = 10
* On /etc/php.d/apc.ini
apc.enabled=1
apc.shm_size=512M
apc.mmap_file_mask=/apc.shm.XXXXXX
Please Help! I have tried everything I have think of... =(