Issues with GUi for NextCloud

I have followed the instruction on how to install Next Cloud via SSH (OSX) using this tutorial.

https://pimylifeup.com/raspberry-pi-nextcloud-server/

However, when i run http://xxx.xx.xx.x/nextcloud/index.php the following appears not the GUI for the system, what am i missing, new to this but eager to learn.

<?php /** * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst * @author Joas Schilling * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman * @author Roeland Jago Douma * @author Sergio Bertolín * @author Thomas Müller * @author Vincent Petry * * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License, version 3, * along with this program. If not, see * */ require_once __DIR__ . '/lib/versioncheck.php'; try { require_once __DIR__ . '/lib/base.php'; OC::handleRequest(); } catch (\OC\ServiceUnavailableException $ex) { \OC::$server->getLogger()->logException($ex, ['app' => 'index']); //show the user a detailed error page OC_Template::printExceptionErrorPage($ex, 503); } catch (\OCP\HintException $ex) { try { OC_Template::printErrorPage($ex->getMessage(), $ex->getHint(), 503); } catch (Exception $ex2) { try { \OC::$server->getLogger()->logException($ex, ['app' => 'index']); \OC::$server->getLogger()->logException($ex2, ['app' => 'index']); } catch (Throwable $e) { // no way to log it properly - but to avoid a white page of death we try harder and ignore this one here } //show the user a detailed error page OC_Template::printExceptionErrorPage($ex, 500); } } catch (\OC\User\LoginException $ex) { $request = \OC::$server->getRequest(); /** * Routes with the @CORS annotation and other API endpoints should * not return a webpage, so we only print the error page when html is accepted, * otherwise we reply with a JSON array like the SecurityMiddleware would do. */ if (stripos($request->getHeader('Accept'), 'html') === false) { http_response_code(401); header('Content-Type: application/json; charset=utf-8'); echo json_encode(['message' => $ex->getMessage()]); exit(); } OC_Template::printErrorPage($ex->getMessage(), $ex->getMessage(), 401); } catch (Exception $ex) { \OC::$server->getLogger()->logException($ex, ['app' => 'index']); //show the user a detailed error page OC_Template::printExceptionErrorPage($ex, 500); } catch (Error $ex) { try { \OC::$server->getLogger()->logException($ex, ['app' => 'index']); } catch (Error $e) { http_response_code(500); header('Content-Type: text/plain; charset=utf-8'); print("Internal Server Error\n\n"); print("The server encountered an internal error and was unable to complete your request.\n"); print("Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.\n"); print("More details can be found in the webserver log.\n"); throw $ex; } OC_Template::printExceptionErrorPage($ex, 500); }

If you are not that familiar with Linux and all the stuff around check out docs.nextcloudpi.com. it is an easy to install version with many helpful and security tools. And a nice webui to manage the cloud and the updates

@mrmarkalowe
When you install software, you should understand the steps. Only in this way you will build Linux knowledge. if you bluntly copy commands, you may lose everything in the event of an error on a productive system because of zero knowledge.

Very likely you have read over that and the included links_

For this tutorial, we will be using PHP 8.0. This version of PHP is available on Raspberry Pi OS Bullseye. You can either upgrade to Raspberry Pi OS Bullseye or add a third-party PHP repository.

And then the command

sudo apt install php8.0 php8.0-gd php8.0-sqlite3 php8.0-curl php8.0-zip php8.0-xml php8.0-mbstring php8.0-mysql php8.0-bz2 php8.0-intl php-smbclient php8.0-imap php8.0-gmp libapache2-mod-php8.0

failed. Bullseye ships with PHP7.4 and under Debian you normally don’t use sudo either. Your error codes shows me that PHP (PHP8.0 or PHP7.4) is not installed.

Which hardware do you have?
What is your goal?
How good is your linux knowledge?

Maybe you can better buy a Managed Nextcloud in the internet including backup plan.