To switch to PHP 7.1 1 AddHandler application/x–httpd–php71 .php .php5 .php4 .php3 To switch to PHP 7.0 1 AddHandler application/x–httpd–php70 .php .php5 .php4 .php3 To switch to PHP 5.6 1 AddHandler application/x–httpd–php56 .php .php5 .php4 .php3 To switch to PHP 5.5 1 AddHandler application/x–httpd–php55 .php .php5 .php4 .php3 To switch to PHP 5.4 1 AddHandler …
Continue reading “How to switch to a different PHP version with htaccess”