http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7511
--- Comment #3 from Paul Poulain <paul.poul...@biblibre.com> 2012-02-10 08:54:16 UTC --- (In reply to comment #2) > Just add to your Koha configuration file > <template_cache_dir>/path/writable/by/apache/user</template_cache_dir> > and Koha will use template caching, for about 10% CPU time saving. 1- don't forget to reload apache 2- to check that cache now work: (I assume that KOHA_DIR is /home/koha/src and the cache dir is /tmp) there is now a directory /tmp/home/koha/src, with sub directories, owned by apache user I encountered a problem when trying to run NYTProf and caching at the same time: the NYTProf is run as "paul" while Koha run as "apache2". Once you've started running Koha with caching as one of those 2 users, you can't run a script as the other user. This is because of linux permissions rwxr--r-- A little sudo rm -fr /tmp/home fixes this annoying problem if you need to run a script as another user a chmod +w+x could also work, I didn't tried -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/