On heliohost, grav is a one click install. On this shared hosting platform, the software needs to be manually installed. I followed the installation instructions which were a simple zip file upload and decompression. However it did not work out of the box. I kept getting “500 Internal Server” errors.
Grav's documentation has a troubleshooting page (https://learn.getgrav.org/15/troubleshooting/internal-server-error) for 500 errors. I wasted quite some time over a few days mucking around before finding out yesterday that the problem was with the php setup in that subdirectory. That was actually the first item to check on the troubleshooting page, but I had assumed (wrongly), that because php was working in the rest of the site, it was fine in the grav installation directory. I spent some trying tweaking the .htacccess and php.ini files, as well setting up a parallel directory for testing the php.
After deleting all the installed folders and using a info.php test script, I found that the main problem was the grav-admin folder permissions was set at 775 instead of the required 755. I managed to fix this after a google search which let me to this forum discussion (https://forum.zenphoto.org/discussion/10050/permissions-755-vs-775).
After changing the permissions, the info.php page worked. I then uploaded the unzipped set of files and folders from my laptop instead of unzipping it on the server. After that, I have an installation log page show that the image and cache directories were missing. This I created manually on the CLI from SSH, and the installation worked.
Finally.