First off, I’m a relative newcomer to Grav. I started by installing PHP. The PPA for Ubuntu has version 7.3.7, which I’ve installed. For my first experiments I unpacked Grav 1.3.9 to a location in my user home and ran the built-in PHP server. This gave me some confidence, thank you!
Next, I found that the PHP install included Apache2, so I’m using that. The web root is at /var/www/html. I downloaded Grav 1.3.11 and have tried to use that. I unpacked Grav as /var/www/html/grav-admin.
At this point, opening localhost produces the Apache greeting but opening localhost/grav-admin only produces a blank page.
I Googled and found comments that folks are having issues with Apache not being able to run PHP. So, in a new subdirectory /var/www/html/grav I entered a PHP hello program which I saved as index.php<?php echo "Hello World!"; echo "PHP is so easy!"; ?>
In using Firefox to open localhost/grav I see the following…
Hello World!PHP is so easy!
So, maybe this is proof that Apache2 is serving PHP code? In any case, I’m stuck. Any and all advice will be appreciated, thanks in advance.