WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am moving a WordPress site from a shared hosting package to a VPS at 1and1 hosting. They have PHP ver. 5.1.6 but PHP5 support is there. I added the following 2 lines on the top of .htaccess file to use that:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

.htaccess is in mydomain.com/httpdocs

But is shows me this error: Cannot get media type from 'x-mapp-php5' and php file appears as simple text file. Please visit this

Cannot understand the reason. Please help me out.

share|improve this question

Comment out the lines and give it a try ;)

#AddType x-mapp-php5 .php
#AddHandler x-mapp-php5 .php
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.