Thursday, December 5, 2013

Re: CakePHP FileEngine and MemcacheEngine


On 5 Dec 2013, at 05:48, Artur Asatryan <maxaralam@gmail.com> wrote:

This issue about CakePHP cache directories, privileges, FileEngine and MemcacheEngine.
Well, i have done my project. After uploading files on live server i have some errors. Like /app/tmp/ folder is not writable (that when i am use FileEngine). When i change /app/tmp/cache folder privilegis to 777 or www-data (Recursive), error's is gone, but i think its bad idea to give tmp or cache folder that privileges (for security reasons). I try configure MemcacheEnigine with this tutorialLINK now i no have any errors, but tmp folder not need (i try delete tmp folder, and it is work). So i guess or memcache saving cache files in another folder, or i have wrong configurations in core and bootstrap. Any idea?

memcached is saving files in memory which is i suspect you can't find any cache files.



....................................
Mike Karthäuser
Director, Brightstorm Ltd.

1, Brewery Court
North Street
Bristol
BS3 1JS

mikek@brightstorm.co.uk
www.brightstorm.co.uk
+44(0) 7939252144
....................................

No comments: