When Suhosin extension is loaded, system temporary directory needs to be available

First create temporary folder with all permissions (777) on your server, It can be placed in PAP folder e.g. [your PAP folder]/install/TEMP/.
Go to /include/Gpf/Templates/ in your PAP folder and edit file Smarty.class.php
Find the following string
private static function getSysTempDir() {
and add a new line after that; it must contain a relative path to your temporary folder. This path is relative to the  install/ folder.
return './TEMP/';
save file and run installation. Skip the integrity check when you get: include/Gpf/Templates/Smarty.class.php  CORRUPTED

In order to skip the integrity check use this parameter: