Why not install frameworks in the root folder

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Why not install frameworks in the root folder

Postby Live24x7 » Wed Jul 18, 2012 6:55 am

I am exploring some of the MVC frameworks and almost all frameworks recommend not to install the framework in the root folder but outside it.
What is the exact risk of installing in the root folder ? Just a bit curious :roll:
Live24x7
Forum Contributor
 
Posts: 194
Joined: Sat Nov 19, 2011 10:32 am

Re: Why not install frameworks in the root folder

Postby social_experiment » Wed Jul 18, 2012 8:28 am

If something is installed outside the root folder it cannot be accessed via the url
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
User avatar
social_experiment
DevNet Master
 
Posts: 2774
Joined: Sun Feb 15, 2009 12:08 pm
Location: .za

Re: Why not install frameworks in the root folder

Postby kon » Sun Jul 29, 2012 8:36 pm

What is the root folder for you ? the public_html ?
kon
Forum Newbie
 
Posts: 19
Joined: Sat Mar 03, 2012 6:43 am


Return to PHP - Theory and Design

Who is online

Users browsing this forum: Celauran, Google [Bot] and 1 guest