On Wed, Jul 1, 2009 at 10:48 AM, David Mintz<da...@davidmintz.org> wrote: > Perhaps this is one of those things that doesn't matter a helluva lot, but: > when you have a freshly installed Debian-style LAMP (actually Ubuntu server > 9.04) and you are looking for a place in the filesystem to install your PHP > application files -- where do you like to put them? /usr/local/share/... ? > Or /usr/local/lib/php/... ? /opt/...?
I might be crazy, but I use /home/prod/application_name/ with the document root as: /home/prod/application_name/html/ Each developer's code is available via: /home/username/application_name/ The reason I like doing it that way, is I find it easier to maintain multiple checkouts of the code. Each developer gets their own copy of the code running on the server, and I also have copies for test and production. I can control who has access to the different copies of the code through group permissions. I don't have a strong opinion on the matter, but what is important to me is that the entire application and a test database can be checked out, and up and running on a fresh MAMP/WAMP/LAMP stack in a few minutes, and the developers can start working on the code from their local machine without an internet connection. If code and dependancies are spread out all over the file system, it makes it difficult to run multiple copies of the code. -John C. _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php