After running do-release-upgrade on my little cloud server, my webpage won't work and phpadmin will not start. Upgrade was from 20.04 Server to 22.04 Server. The upgrade ended successfully. I can ssh into the server
When I enter my webpage address, I see the contents of the index.php, but that's all.
<?php
// don't forget the / before the file name!! VIP VIP VIP DO NOT FORGET THE / ï¼ï¼
//include $_SERVER['DOCUMENT_ROOT'] . '/startfile.html.php';
header('location: startfile.html.php')
?>
but I don't get my startfile.html.php. Everything worked fine before the upgrade!
Also, I can't access phpmyadmin, I just see this in stead of the login page:
<?php
declare(strict_types=1);
use PhpMyAdmin\Routing;
if (! defined('ROOT_PATH')) {
// phpcs:disable PSR1.Files.SideEffects
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
// phpcs:enable
}
global $route, $containerBuilder;
require_once ROOT_PATH . 'libraries/common.inc.php';
$dispatcher = Routing::getDispatcher();
Routing::callControllerForRoute($route, $dispatcher, $containerBuilder);
I can access the server via ssh.
There is an error in the apache2 mydomain.error.log which says it cannot stat mydomain/public_html/wp-login.php
I have no idea why it is looking for wp-login.php I never had such a file.
Why won't my index.php open my startfile.html.php?
I can access mysql from the command line as a normal, non-root user.