En fait, tu as la doc ici : http://www.faq.1and1.com/scripting_languages_supported/php/9(...) By default Apache uses PHP 4 for .php extension. If you don't want to rename all your
scripts to .php5 you can do the following:
Create a .htaccess file and place the following line AddType x-mapp-php5 .php in it.
This will tell Apache to use PHP 5 instead of PHP 4 for the extension .php in the
directory the .htaccess is placed and all sub-directories under it.
[^] # Re: 1and1
Posté par lezardbreton . En réponse au journal Héberger un site web perso.. Évalué à 2.
http://www.faq.1and1.com/scripting_languages_supported/php/9(...)
By default Apache uses PHP 4 for .php extension. If you don't want to rename all your
scripts to .php5 you can do the following:
Create a .htaccess file and place the following line AddType x-mapp-php5 .php in it.
This will tell Apache to use PHP 5 instead of PHP 4 for the extension .php in the
directory the .htaccess is placed and all sub-directories under it.