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:[EMAIL PROTECTED] 
Sent: Sunday, August 03, 2003 9:49 PM
To: [EMAIL PROTECTED]
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





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to