Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #9645

Re: where to put a php library shared between (virtual) sites.

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
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 Sat, 25 May 2013 15:05:36 +0200
Lines 32
Message-ID <b0br90F5p9rU1@mid.individual.net> (permalink)
References <knnsvj$l8t$1@news.albasani.net> <b09oq8FmkvvU1@mid.individual.net> <e8Snt.25581$cs.20058@newsfe03.iad> <knppbp$2n7$2@news.albasani.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net /MTXPsFtpIUyyOquEaL3jwo57C3hB6CgsRJTPgvdNo45vcA0KF
Cancel-Lock sha1:rXxiU/1FMCFy1dZND24hDH6e4iM=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130408 Thunderbird/17.0.5
In-Reply-To <knppbp$2n7$2@news.albasani.net>
Xref csiph.com comp.lang.php:9645

Cross-posted to 2 groups.

Show key headers only | View raw


On 25/05/13 09:31, The Natural Philosopher wrote:
> On 24/05/13 23:49, Sanders Kaufman wrote:
>> "J.O. Aho"  wrote in message news:b09oq8FmkvvU1@mid.individual.net...
>>> On 24/05/13 16:20, The Natural Philosopher wrote:
>>
>>>> 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
>>
>> Actually, a named server is the industry standard - just like with
>> database servers, static content servers, web servers and app servers.
>> (e.g. db.kaufman.net, static.kaufman.net, www.kaufman.net,
>> apps.kaufman.net)
>> I think it's even codified in the latest ISO9xxx standard.
>>
> Thanks for that. A most interesting idea. But wouldn't that make them
> PUBLICLY accessible to anyone on the net?
>
>
Sure, Sanders example here would require you to have a copy in each 
virtual host, with other words what you already done.

Using the include_path option in php.ini, then if it's a global php.ini 
the modules would be accessible by all vhosts on that server, if you 
sites has individual php.ini (as you can have in a suExec setup), then 
those modules would only be accessible by those vhosts with the right 
php.ini.

-- 

  //Aho

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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