How to Run PHP5 at 1and1.com Linux Account
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!
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?