Jump to content
KUHM

Enable PHP 5 with HTACCESS

Posted on - Updated

Enable PHP 5 with HTACCESS

To be able to install most new-generation CMSs (WordPress, Joomla, Prestashop, …), you need to have PHP 5 enabled.

Below you will find a list of the lines to add to your .htaccess, along with the actions to take to get PHP 5 working on your hosting, depending on your host.

PHP 5.2 - OVH: www.ovh.com

SetEnv PHP_VER 5

PHP 5.3 - OVH

SetEnv PHP_VER 5_3

PHP 5.4 - OVH

SetEnv PHP_VER 5_4

PHP 5 - 1and1: www.1and1.fr

AddType x-mapp-php5 .php .php3 .php4 .htm .html

or:

AddType x-mapp-php5 .php

PHP 5 - Infomaniak: www.infomaniak.com

Enable it via the hosting administration panel.

PHP 5 - PHPNUX: www.phpnux.com

AddHandler x-httpd-php5 .php
AddType application/x-httpd-php5 .php

or enable it via the hosting administration panel.

PHP 5 - Amen: www.amen.fr

Enable it via the hosting administration panel.

PHP 5 - Free: www.free.fr

php 1

PHP 5 - Online: www.online.net

AddType application/x-httpd-php5 .php

PHP 5 - Nuxit: www.nuxit.com

Options -indexes
AddHandler x-httpd-php5 .php
AddType application/x-httpd-php5 .php

PHP 5 - Strato: www.strato.com

AddHandler x-httpd-php5 .php
AddType application/x-httpd-php5 .php

About the author

Cyril KUHM

Cyril KUHM

Head of MKH, a web agency near Strasbourg, and SEO consultant since 2007. On this blog I share free, hands-on advice to help your site rank better on Google.

Get in touch

Related posts

↑