FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » where to put a php library shared between (virtual) sites.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: where to put a php library shared between (virtual) sites. [message #181701 is a reply to message #181697] Sat, 25 May 2013 15:29 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
On 25/05/13 14:05, J.O. Aho wrote:
> 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(at)mid(dot)individual(dot)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.
>
I suppose another example would be to hard link the files to 'copies' in
each vhosts directory.

And make em readonly :-)


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Open Portal - web portal software
Next Topic: YouTube script quits displaying "Tags" info
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Aug 01 23:04:51 GMT 2024

Total time taken to generate the page: 0.04300 seconds