Thursday, January 29, 2009

Re: Cache not configured properly on Mac OS X

On OS X, you should drop-in the CakePHP directories, and leave them as is.
Unless you are running your Apache webserver under a different user than
the one you login as.

If you have chmod'd the tmp directory recursively to 666, you have removed
the execute bit, which is needed for directory traversal.
Try this:

$ cd /directory/to/my_project/app/
$ find . -type d -exec chmod 755 {} \;

This will find all directories under the TMP directory, and set permissions
to 755, which is sufficient for the apache server, if running as your
logged in user.
if its running as some other user, then just change them to 777 instead of
755 in the above command.

Hope this helps.

Cheers,
Graham

On Thu, 29 Jan 2009 02:57:11 -0800 (PST), leo <ponton.leo@gmail.com> wrote:
> Try 777. It's the only way I could get it to work.
> Fwiw, I don't enable the cache on my dev server as it can lead to
> confusion trying to debug.
>
> On Jan 28, 9:26 pm, Rick <will...@gmail.com> wrote:
>> Version 1.2.1.8004
>>
>> I downloaded and installed Cake in my Apache document directory in new
>> "Test" Directory.  I can run cake and get the "Release" screen
>> successfully.  However I'm getting a warning "Cache not configured
>> properly".  I have not touched anything other than to chmod the tmp
>> directories to 666.
>>
>> I thought this was supposed to be a "drop in" install.
>>
>> willirl
>> Rick
>
--
Cheers,

Graham Weldon
w. http://grahamweldon.com
e. graham@grahamweldon.com
p. +61 407 017 293

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: