1) Download php526.sh.txt
2) Edit [sub].domain.com to reflect your domain's folder name and save.
3) Upload as php526.sh
In shell:
$ chmod +x php526.sh
$ ./php526.sh
Add the following lines to your site's .htaccess file:
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi