Can't connect to my Nextcloud

Since the last days I can’t connect my nextcloud in a Browserwindow I only get this:

“This version of Nextcloud is not compatible with > PHP 7.2.
You are currently running 7.3.8.”

How can a raw beginner fix it.

This nextcloud is hosted by 1und1


Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2):
Operating system and version (eg, Ubuntu 17.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:


What is your NC version? May be it is time to upgrade?

Thanks, but I can’t open my NC, how can I upgrade?

So, can you try if you can run occ command under your nextcloud folder from the command line? E.g. to see help:

sudo -u www-data php occ

If it works, you can do upgrade from the command line as described here:

If it does not work, try to install an older php (e.g 7.0) parallel to your 7.3 and specify php version in command, e.g.:

sudo -u www-data /usr/bin/php7.0/php occ -h

P.S. to find where is you php run the command:

whereis php
#Output: php: /usr/bin/php7.0 /usr/bin/php /usr/lib/php /etc/php...

Thanks for Tipps, my Provider has upgrated the PHP version. With this Info I fix the props.


1 Like