Jump to content

APC cace for multiple domain


Recommended Posts

My cpanel structure is as such:

 

/home/username/public_html/ (my main store)

/home/username/abc.com/ (my other store)

 

/home/username/php.ini (where I declare my APC values)

 

Should I instead be declaring APC values in /public_html/php.ini AND /abc.com/php.ini if I want APC values to be applied to both stores?

Link to comment
Share on other sites

I had mine like that:

 

 

extension=apc.so

apc.shm_size=64M
apc.ttl=7200
apc.user_ttl=7200
apc.gc_ttl=3600
apc.shm_segments=2
apc.cache_by_default=1
apc.include_once_override=1
apc.mmap_file_mask=/apc.shm.XXXXXX
apc.max_file_size=5M

 

Should i keep apc.mmap_file_mask value the same or I would need to define them differently for each domain store?

Link to comment
Share on other sites

 

Crap, bad idea. My store turned blank white when I swap the apc values from /home/username/php.ini  to /home/username/public_html/ 

 

It didn't specify much on multiple store in different domains.

 

 

best to turn on errors and try again.  I have all the faith in you!  Let us know how you get on.

Link to comment
Share on other sites

×
×
  • Create New...