How to switch PHP version 5.2 to 5.3 with .htaccess!

Have you ever tried switching PHP version for a single website if you hosted multiple websites in a hosting?. Using .htaccess you can easily switch PHP version from 5.2 to 5.3.

Add this line in your .htaccess file to change PHP 5.2 to PHP 5.3:

If you are already using newer version ie., PHP 5.3, you can always downgrade with the same technique:

From PHP 5.3 to PHP 5.2:

Enjoy coding!


Related Posts

Leave a Reply