1&1 Linux hosting still support PHP4 as default php processor for .php files. To run PHP5 you need to rename .php file as .php5 file. But it is hard to rename all application files at once. You can use PHP5 in your account by following simple steps below:

  • Create a .htaccess file or edit .htaccess file if you application already using
  • Add below lines on the top on file content
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
  • Upload .htaccess file to root folder of your hosting account.

Done!

Written by Bala Krishna

Bala Krishna is web developer and occasional blogger from Bhopal, MP, India. He like to share idea, issue he face while working with the code.

This article has 1 comments

  1. Jamie

    Is there other to do this, I did some file rename on php5 but my system crashed. What do you think I did wrong here?