Having very similar problem here.
I know very little of LINUX having come from Windows 10 recently (I know..., but never too late).
I have installed PHP 7.2. Version works.
PHP 7.2.7-0ubuntu0.18.04.2 (cli) (built: Jul 4 2018 16:55:24) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.7-0ubuntu0.18.04.2, Copyright (c) 1999-2018, by Zend Technologies
I have installed APACHE2. I can see the correct configuration file in localhost.
The folder for the server is /var/www
I have opened info.php correctly
I even opened phpliteadmin.php once. But the directory was not set right.
1. Shouldn't '.' work for all directories?
2. If I am at /var/www/index what is the relative address for /home/furtadobb/models?
3. Once there is an error, the phpliteadmin interface never opens again and I get a 500 error.
Sorry for this kind of question.
Best,