I've installed cake_1.2.2.8120 on my server and am happily developing
with it. It's really is very neat.

However, can an install be done using the advanced pattern i.e. the
cake lib folder resides outside the root in a common area for any web
user on a shared server to use?

I tried but could not get it to work.

The files are in /usr/local/cake_1.2.2.8120/cake.

With safe_mode off and the correct entry in include_path and
open_basedir install is a snap. With safe_mode on it does not matter
what I try and use (safe_mode_include_dir included) I cannot access
the shared lib in /usr/local/cake_1.2.2.8120/cake without setting a
recursive chmod to the user AND group of a particular web site.

So if each site has it's own user for it's own web folder and root
e.g. web1, web2, web3 and they all belong to the group web_user then
to use cake's shared library for web2 it will only work with safe_mode
on if I set

chmod -R web1:web_user /usr/local/cake_1.2.2.8120

But of course web2, and web3 etc are out of luck. I have tried each
combination I can think of. Is there a template to get this done or
something obvious I am missing? Or perhaps you just cannot use CakePHP
effectively with safe_mode on?

Al

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

Reply via email to