Pressed0024 Posted December 18, 2013 Share Posted December 18, 2013 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 More sharing options...
El Patron Posted December 18, 2013 Share Posted December 18, 2013 yes if you hosting allows you to have php.ini in your root and/or directory then you would configure any environmental php value by 'domain'. Link to comment Share on other sites More sharing options...
Pressed0024 Posted December 18, 2013 Author Share Posted December 18, 2013 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 More sharing options...
El Patron Posted December 18, 2013 Share Posted December 18, 2013 btw here is a blog on apc by moderator dh42 http://blog.dh42.com/apc-speed-prestashop/ Link to comment Share on other sites More sharing options...
Pressed0024 Posted December 18, 2013 Author Share Posted December 18, 2013 Crap, bad idea. My store turned blank white when I swap the apc values from /home/username/php.ini to /home/username/public_html/ btw here is a blog on apc by moderator dh42 http://blog.dh42.com/apc-speed-prestashop/ It didn't specify much on multiple store in different domains. Link to comment Share on other sites More sharing options...
El Patron Posted December 18, 2013 Share Posted December 18, 2013 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 More sharing options...
Recommended Posts