Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.