To install applications that require a higher PHP version, create a .htaccess file inside the application directory and specify which version of php you want used.
# Use PHP 5.3
AddType application/x-httpd-php53 .php
# Use PHP 5.3
AddType application/x-httpd-php53 .php