NYCPHP Meetup

NYPHP.org

[nycphp-talk] web page file extensions

Aaron Fischer agfische at email.smith.edu
Wed Apr 28 11:10:50 EDT 2004


I certainly don't want to make a change that will hurt performance as 
this is more of an personal aesthetic issue more than anything else.  
If performance is better given the scenario mentioned, I shall shift my 
current aesthetic preferences.  =)

-Aaron

On Apr 28, 2004, at 11:06 AM, Mitch Pirtle wrote:

>> So, my question is, is this fairly normal to be constrained to those 
>> file types in order to have php be executed?  It seems inconvenient 
>> and unnecessary, IMO, but I don't have enough experience with 
>> different server environments to feel qualified to make this 
>> judgment.
>
> Technically you can tell apache to parse html as PHP code, but it is 
> discouraged as a default.  One reason is performance, as even static 
> html will now be parsed by the php handler.
>
> You can change this in either httpd.conf or with .htaccess files, 
> although I also consider .htaccess files a bad idea for performance 
> reasons.




More information about the talk mailing list