Thanks again. Upgraded according to your instruction without problem but now my miss rate is 99%Yes.
https://www.quantnet.com/apc.php
Thanks again. Upgraded according to your instruction without problem but now my miss rate is 99%Yes.
extension=apc.soStrange. It's showing that only 1 file is cached. What are your settings in apc.ini ?
Thanks for your help, ShaunSeems someone else has come up against this - http://xenforo.com/community/threads/help-with-nginx-and-apc.43145/#post-464361
Try going back a version and installing APC-3.1.13 (just change the number in my previous instructions, it should work and should override the current version) - ler's see if that works as expected?
Cheers,
Shaun
Thanks for your help, Shaun
Yeap. Going back to 3.1.13 is the answer. Not sure what happened with 3.1.14. Maybe it has something to do with PHP 5.3.
1) Do you happen to know how to upgrade to PHP 5.4 as well
2) Any comment on my apc.ini settings?
Just a side note for those who read this thread, but may not have enough ram or are using shared hosting
File Cache
config.php --- Remember to change the PATH (full server path)
PHP:$config['cache']['enabled'] = true; $config['cache']['cacheSessions'] = true; $config['cache']['backend'] = 'File'; $config['cache']['backendOptions'] ['cache_dir'] = '/path/to/cache'; $config['cache']['frontend'] = 'Core'; $config['cache']['frontendOptions'] ['cache_id_prefix'] = 'xf_';
You'll also may want or need to change the prefix if you have more than 1 forum (test forum for example).
When moving your site to either a different directory or server or domain name... You'll want to delete your cache folder and make a new one (system will automatically generate new cache). Before or without doing this, things will not work.
@Hristo Avramov
Shared hosts normally wont let you have any opcode cache from what I know but if they do let you use APC it would reduce their CPU load not increase it.
Depends on you php version.I have xcache installed. Is that as good as APC?
Depends on you php version.
APC is good for Php 5.3 and below
We use essential cookies to make this site work, and optional cookies to enhance your experience.