Re: Re[2]: [PHP-WIN] PHP 4 and Apache 1.3
| From: | Phil Driscoll | Date: | Sat, 30 Sep 2000 09:12:25 +0000 |
| Subject: | Re: Re[2]: [PHP-WIN] PHP 4 and Apache 1.3 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-2862@lists.php.net to get a copy of this message | ||
Vince wrote:
>>} just add the extension for .html files. I think this will do it.
>Highly NOT recommended! That means that php will parse EVERY html page on
>the server. Very resource wasting.
While I agree that some server performance is consumed by this
configuration, I have my system set up this way, and all my php files have
the extension .html so that if an end user saves a page to local disc it
gets saved with a sensible file extension. The way I have my machines
configured is that .html files are actually php files, and .htm files are
static html files - that way, I don't end up wasting processor cycles.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org