Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #9607
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Newsgroups | comp.lang.php, comp.linux.misc |
| Subject | Re: where to put a php library shared between (virtual) sites. |
| Date | 2013-05-24 20:11 +0200 |
| Message-ID | <b09oq8FmkvvU1@mid.individual.net> (permalink) |
| References | <knnsvj$l8t$1@news.albasani.net> |
Cross-posted to 2 groups.
On 24/05/13 16:20, The Natural Philosopher wrote: > Situation: LAMP installation,. Multiple sites some of which use > identical scripts, and many of which could (with a bit of parameter > tweaking) use identical included scripts. > Multiple sites under /var/www.whatever.whatever and so on > > Desired: a place that can be used to PUT these scripts. > Obviously: anywhere on the server is POSSIBLE. > > But where is the most normal place, that e.g. anyone might EXPECT to > find them? There is no "most normal" place. You should document the location, one way could be to add a README.txt in /var/www.whatever.whatever and hopefully you have a htdoc directory under there in which the site is located. If you have many sites that shares the same libraries, I would go with include_path in php.ini, there are some default paths already added which are commonly used by php extensions provided through the package management system. The paths may be different depending on which distribution you use. -- //Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
where to put a php library shared between (virtual) sites. The Natural Philosopher <tnp@invalid.invalid> - 2013-05-24 15:20 +0100
Re: where to put a php library shared between (virtual) sites. "J.O. Aho" <user@example.net> - 2013-05-24 20:11 +0200
Re: where to put a php library shared between (virtual) sites. "Sanders Kaufman" <bucky@kaufman.net> - 2013-05-24 17:49 -0500
Re: where to put a php library shared between (virtual) sites. Jerry Stuckle <jstucklex@attglobal.net> - 2013-05-24 19:19 -0400
Re: where to put a php library shared between (virtual) sites. The Natural Philosopher <tnp@invalid.invalid> - 2013-05-25 08:31 +0100
Re: where to put a php library shared between (virtual) sites. "J.O. Aho" <user@example.net> - 2013-05-25 15:05 +0200
Re: where to put a php library shared between (virtual) sites. The Natural Philosopher <tnp@invalid.invalid> - 2013-05-25 16:29 +0100
Re: where to put a php library shared between (virtual) sites. Moon Elf <moonelf@moonelfsystem.net> - 2013-12-15 20:06 +0000
Re: where to put a php library shared between (virtual) sites. Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-15 15:12 -0500
csiph-web