Sunday, November 29, 2009

Re: Does CakePHP require a change of document root?

If you keep reading, they tell you that it is not required

"Some users on shared hosts without access to their httpd.conf directives may not be able to change their DocumentRoot to reflect the production setup. Users in that situation may want to try and structure their Cake installation as follows. The Cake installation is found at /path_to_cake_install, and the DocumentRoot (which cannot be changed) points to/public_html."

On Sun, Nov 29, 2009 at 6:56 AM, Abhishek Kaushik <radicalethos@gmail.com> wrote:
hi cant help you much on this .

.but looks like the following cakephp feature
http://oss.org.cn/ossdocs/php/CakePHP-Manual/ch03s03.html

might be the reason of conflict....actually Apache sets the
environment variable $_SERVER['DOCUMENT_ROOT'] to your root
directory...but cakephp requires changing that....

Thanks alot for informing me about this now i need to think about any fix

On 11/29/09, MissYeh <missyeh@gmail.com> wrote:
> I am having trouble installing Cake on a webhosting company one.com
> server. Installed it a few times on with other hosting providers
> without problems. After contacting one.com helpdesk I received this
> answer:
>
> Quote:
> "I am afraid you cannot install CakePHP. This is not supported by our
> servers at all. It is not blocked, but this requires a change of
> document root, which is not possible."
>
> Is it true that Cake really requires it?
>
> As far as I know it doesn't necessary require it, but you can tell it
> to, just like any PHP script/app.
>
> Can anyone shed a light on this?
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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
>


--
Regards
Abhishek Kaushik

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
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: