Hi again @noeldiaz
Using the following
sudo service php7.0-fpm restart
did indeed work, thank you for that. However as there were steps previous to that which are still failing I have still not been able to get phpMyAdmin running.
So, as you suggested, I decided to use Adminer instead. I agree that a more light-weight approach is better.
I found the following installation instructions (it wasn't clear from https://www.adminer.org/ how to install that single PHP file).
sudo mkdir /usr/share/adminer
sudo wget "http://www.adminer.org/latest.php" -O /usr/share/adminer/latest.php
sudo ln -s /usr/share/adminer/latest.php /usr/share/adminer/adminer.php
echo "Alias /adminer.php /usr/share/adminer/adminer.php" | sudo tee /etc/apache2/conf-available/adminer.conf
sudo a2enconf adminer.conf
sudo service apache2 restart
(Those instructions come fro https://www.leaseweb.com/labs/2014/06/install-adminer-manually-ubuntu-14-04/ )
That all seemed to work fine but as that approach uses apache I ran into problems.
When I tried to open Adminer in the browser using my-ip-address/adminer.php, I saw a message stating "No input file specified.". Some Googling informed me that this is likely because Apache is not running.
On my server I can see that nginx is running and apache2 is not running. (Is is even possible for both to run at the same time? Sorry if that is a stupid question, its not a situation I have encountered before!?).
To get Apache to run I edited /etc/apache2/apache2.conf and added 'ServerName localhost' at the bottom of the file, I also changed the port from 80 to 81 to avoid clashes.
Trying again in the browser using this adjusted uri:
my-ip-address:81/adminer.php
I now see this error:
This site can’t be reached
46.101.153.109 took too long to respond.
ERR_CONNECTION_TIMED_OUT
Maybe I should not use that approach to install Adminer, maybe there is a different way to install it and use nginx to serve it?
There is probably a really simple solution to this that I am missing. Any ideas?
David