Can't get APC working

#1
I installed APC but it always resets cache, seems to be deleted after connection is terminated.

I read somewhere that I need to disable suExec but suExec is in the section of Apache config and I don't use apache config for virtual hosts.

I used to create all my domains with PHP_SuEXEC template.

So how can I get APC work ?
 

webizen

Well-Known Member
#9
For dedicated environment (run APC), PHP_suEXEC template is not recommended. it is for sharing hosting environment instead.

You should set instances to 1 and put 'PHP_LSAPI_CHILDREN=5' in Environment box for each vhost lsphp5.
 
#10
I tried this for instantiated hosts as well as hosts created by PHP_suEXEC template. Actually when I make changes in host created by template I make changes to template itseft and it changes all hosts based on this template.

But it still doesn't work. APC is always resetting itself. Uptime is always 0 and only one script is cached
 

webizen

Well-Known Member
#11
are you saying APC still reset itself even though with the required settings for lsphp5?

if so, pm the server access for us to look at if you like.
 
Top