To switch PHP version to 5.2 (as an example) please follow the steps below:
- log into your cPanel;
- click on 'File Manager' icon, make sure you checked "Show Hidden Files (dot-files)";
- find your ‘.htaccess ‘file, if there is no file, you can create it by clicking on “New File”
- add the following line into your ‘.htaccess’ file:
AddHandler application/x-httpd-php52 .php .php5 .php4 .php3
- click “Save changes”.