What is the difference those?
AddType x-mapp-php5 .php
AddType application/x-httpd-php .php
AddType x-httpd-php .php
?
The page loading speed significantly decreases when I have AddType application/x-httpd-php .php .
Why would that be?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It tells apache what mime-type to return when encountering that extension.
See the docs here: http://httpd.apache.org/docs/2.0/mod/mod_mime.html#addtype
Mime-types are used for several things in Apache.
With
AddHandleryou can bind a handler (like PHP) to a specific mime-type. So using a different mime-type for PHP could result in a different parser being used.