===== PHP Version Error ===== When upgrading or doing other command line related tasks, Nextcloud could give you a PHP Version Error. This doesn't matter what version you are on and is for all PHP version errors. So to get rid of this error and continuing your tasks do the following. Go into your Nextcloud directory and than in the LIB directory within your Nextcloud directory: cd /var/www/nextcloud/lib Find the file versioncheck.php and open it nano versioncheck.php Delete everything in the file except this: