Do I have an efficient APC Setup?
- by Gaia
Regarding my particular APC setup:
APC 3.1.9
PHP 5.3.3 via fCGI
Apache 2.2.15
CentOS 6.3
1) Is it setup properly to minimize overall memory usage?
/etc/php.d/apc.ini has only one line: "apc.cache_by_default=0"
Each domain for which I want to turn on APC has all the apropriate APC
configurations in its own php.ini.
2) I would like to keep only one copy of apc.php that can be accessed via any of the vhosts on the server. What's the recommended way to do this? It seems that apc.php doesn't play well with apache Alias directive. apc.php only exists is on one of the vhosts, is set to 644 and it doesn't seem to matter who owns it: if I try to access it via an alias I get only gibberish.