Field report on 1&1 Hosting:
It is possible and easy to install and “normally run” Nextcloud on an 1&1 (now: “1&1 IONOS”) Hosting site.
But in some maintenance cases, it might get necessary to use the command line tool occ.
Up to now, I always failed to run occ, now knowing (thanks, diri!!!) due to a simple and silly mistake:
On the ssh command line I typed in
$ php occ …
and received an fatal error, ignoring the fact that the php error message returned valuable informations like ‘php 4.4.9…’.
Indeed, on this server, ssh by default uses this outdated php 4 version, independently of its PHP settings in the control center!!
Solution: Easily call occ with a more actual PHP version, e.g.
$ php7.1-cli occ …
Works well on my server!