Apache configurations for php "AddType text/html php" or "AddType application/x-httpd-php php .php"
on Server Fault
See other posts from Server Fault
or by forestclown
Published on 2012-05-31T08:16:14Z Indexed on 2012/05/31 10:43 UTC
Read the original article Hit count: 4922
I am taking over an application server and discover that it contain the following settings:
AddType text/html php
Although it works, but my understanding is that it should set as following:
AddType application/x-httpd-php php .php
What are the key differences between the two settings? Although at this point my application (Built using CakePHP) is running fine with either configuration, but I am not sure if it will cause any strange behaviour.
© Server Fault or respective owner