Re: Performance hit with certain apache configs?

From: Date: Sun, 04 Feb 2001 02:36:40 +0000
Subject: Re: Performance hit with certain apache configs?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38053@lists.php.net to get a copy of this message
> 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

« previous php.general (#38053) next »