[phpa] Re: Multiple sites, one set of files?

Hi Nick,

That sounds brilliant. I will test it out shortly.

Chris.
_________________________________________
Christopher Padfield
mailto:chris@xxxxxxxxxxx

             http://www.DeskPRO.com/
"Support your business by supporting your clients"

----- Original Message -----
From: "Nick Lindridge" <nick@xxxxxxxxxxxxxxxxxxxxx>
To: <phpa@xxxxxxxxxxxxx>
Sent: Monday, March 18, 2002 1:33 PM
Subject: [phpa] Re: Multiple sites, one set of files?


>
> Hi Chris,
>
> Depending on how you setup your sites you should get the behaviour you
want.
> Firstly, phpa doesn't use filenames to refer to files, so even if you have
> files with same name, or even identical paths on some virtual file system,
> if the files are physically different, then phpa will see them as
different.
>
> However, if you can install a single copy of VBulletin and have symbolic
> links to it from different places, there will only be one set of cached
> files and you should get what you want.  If you have config files that
> normally live within the VBulletin tree then you will have to relocate
those
> elsewhere.
>
> nick
>
> >
> > Hi there,
> >
> > Just wondering if something like this is possible.
> >
> > If you have two installations of a product, say vbulletin, (and
> > assuming that all the filenames have a unique name), would it be
> > possible to have only one set of files cached, but leave the config.php
> > file not cached. This would mean you could run two copies of vbulletin
> > on one server using only the memory needed to cache one set of the
> > files. The config.php would need to be not cached because that is the
> > "dynamic bit" based on the site that is being used.
> >
> > Is this going to be possible? Even better would be if the system was
> > smart, so that if the file has not been changed (ie it is the same size
> > as the cached version) then it uses that version. If however it is a
> > different size, ie it has been altered from the cached version then the
> > non cached version is used. I am sure there are a lot of hosting
> > companies out there that have a lot of people using the same software
> > that would be interested in something like this (and perhaps even fund
> > development).
> >
> > Anyway, just a thought.
> >
> > Chris.
> > _________________________________________
> > Christopher Padfield
> > mailto:chris@xxxxxxxxxxx
> >
> >              http://www.DeskPRO.com/
> > "Support your business by supporting your clients"
> >
> >
> > ------------------------------------------------------------------------
> >   www.php-accelerator.co.uk           Home of the free PHP Accelerator
> >
> > To post, send email to phpa@xxxxxxxxxxxxx
> > To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject
> > unsubscribe
>
>
> ------------------------------------------------------------------------
>   www.php-accelerator.co.uk           Home of the free PHP Accelerator
>
> To post, send email to phpa@xxxxxxxxxxxxx
> To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
>
>
>
>

------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: