CodeCompetition.com

Software Development, and Technology Information

Advertisement

Posts Tagged ‘ php ’

While the fix for this issue is extremely easy to complete, I have found that the 1&1 technical staff do not always give an easy explanation to solve these types of issues.

The Problem:

You are probably using 1&1 to host your website, and just found out your site needs to use PHP5, but is currently using PHP4.

The Solution:

To fix this issue you can simply add the following two lines to the .htaccess file located in your sites root directory:

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

And that’s it! You are now using PHP5.

Popularity: 18%