Switch between php 5.4 and 5.5

To switch between the PHP versions add the following to a .htaccess file

For PHP 5.5:

<FilesMatch "\.php$">
AddHandler x-httpd-php54 .php
</FilesMatch>

For PHP 5.5:

<FilesMatch "\.php$">

AddHandler x-httpd-php55 .php
</FilesMatch>
  • 3 Users Found This Useful
Was this answer helpful?