Arrrrrh!

This time the SD card in the PI had given up, so finally bought a new one and loaded the latest PI OS, apache2, PHP and mariadb and all is well again.