Just in case anyone else has this issue, I managed to get it solved with the help of Perch developer Ryan from Made by Kingfisher.
The issue was that 'AddHandler php-script .html’ in .htaccess. Needed to be changed to:
AddHandler php-latest .html
Did this and it's worked perfectly.