NYCPHP Meetup

NYPHP.org

[nycphp-talk] where in filesystem to install php application

Michael Hernandez sequethin at gmail.com
Wed Jul 1 11:03:05 EDT 2009


On Wed, 2009-07-01 at 10:48 -0400, David Mintz 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/...?
> 
> It's nice if it isn't /something/too/terribly/hideously/long/to/type
> although there are always shortcuts, like environment vars.
> 

It really doesn't matter, as you said, but on ubuntu I tend to use /opt
since I don't know of any official ubuntu packages that would ever
use /opt for anything.  I worry that using /usr/local for stuff might
end up with an accidental delete or overwrite by the package manager.

Just my .02 :)

--Mike H




More information about the talk mailing list