[phpa] [Fwd: Re: strange thing]

-------- Original Message --------
Subject: Re: [phpa] strange thing
From: "Nick Lindridge" <nick@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, June 8, 2002 10:54 am
To: <corinl@xxxxxx>

>
> Hi,
>
> i once looked at the pages in the cache and saw that there are also
> some .html pages cached.
> i wonder why and how they get cached by phpa, because they get never
> included in any php script nor are they processed as php scripts by
> apache.

this is arguably a design fault in PHP or Apache. Possibly you have the
x-bit-hack feature turned on (not sure what it does to be honest), and
with this feature, even html pages get run through php. And, as phpa
just
caches what php gets to process, your html files get cached too.

You should be able to avoid this by setting phpa to ignore html files.
e.g. try phpa.ignore_files = ".html"

in your php.ini. Restart, and check the cache again.

nick



------------------------------------------------------------------------
  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:

  • » [phpa] [Fwd: Re: strange thing]