Archive for the ‘enable php5’ tag
PHP5 on 1and1
To enable PHP 5 on a 1and1 shared web hosting linux package, simply create (or edit) a file with the name .htaccess on your server and add the following line:
AddType x-mapp-php5 .php
This will make all php files in subdirectories rendered as php version 5.