RE: [PHP-DB] Renaming .htm pages to .php
| From: | Mike Brum | Date: | Mon, 04 Aug 2003 01:58:42 +0000 |
| Subject: | RE: [PHP-DB] Renaming .htm pages to .php | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-29655@lists.php.net to get a copy of this message | ||
If you change you Apache configs, it wouldn't create a "problem" with
.htm pages that don't use any PHP, but the pages will still be sent
through the PHP parser.
If you don't have a very high-traffic site and there's no other sites on
the box, then you probably won't see any real performance hit - but
understand that if you do start getting a ton of traffic, every .htm
page will be parsed for PHP content. Even if none is found, there is
some CPU cycles burned in that initial parsing.
-----Original Message-----
From: David Blomstrom [mailto:GeoBear@geobop.com]
Sent: Sunday, August 03, 2003 9:49 PM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Renaming .htm pages to .php
So if I understand you correctly, I can turn a page into a .php page
through one of two methods:
1. Change the extension to .php
2. Instruct Apache to treat .htm extensions as .php extensions.
That sounds really interesting. Would that create any problems with
pages
that I never use .php functions on? Or if I have websites on my computer
that don't use php?
Thanks.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php