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!