How to install the right version of PHP for a particular directory or domain.
To do this in the domain directory, for example:domains/domain_name/public_htmlcreate a .htaccess file with this content: <FilesMatch “.(php4|php5|php3|php2|php|phtml)$”>SetHandler application/x-lsphp71</FilesMatch> If your site is on a server with Litespeed, you need to add another line: AddType application/x-lsphp52 .php5 .php4 .php .php3 .php2 .phtml Where x-lsphp71 indicates the desired version. For PHP 5.2 specify x-lsphp52 and so on…