> I'm wondering if anyone has any info regarding any performance hits
> taken as a result of changing the default type to application/x-httpd-php
> in Apache's httpd.conf, or if there are any _other_ implications of doing
> this.
>
> Any info would be appreciated, as would a cc: cuz I'm not subbed
> at my work address. Thanks.

Anecdotal metering has pegged this as a 5-10% performance hit.  Compared to
the Tech Support calls to say, "No, the URL is supposed to end in .php, not
.htm" that's pretty cheap. :-)

There aren't really any other non-obvious implications I can think of...

If some random hacker has inserted <?php xxx ?> into one of your .htm files,
and you alter the AddType, it will obviously fire off for the first time
now, instead of being swallowed by the browser as an unknown tag.

People who have actually gotten used to .php meaning "the cool database
pages" might be confused by how the ".htm" pages are cool now too. :-)

The PHP group doesn't get quite as much wide-spread recognition as they
deserve, but they're okay with that compared to your need for .htm as a
known entity for end users :-)

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to