Nachdem ich immer wieder neue Phänomene hatte habe ich den Server neu installiert jedoch ohne automatische LAMP Installation...
Server nur mit ssh. dann habe ich eine manuelle Installation von PHP7.4 / apache2 / und MySql mit phpadmin durchgeführt.
Für jene die es interessiert:
Code: Alles auswählen
apt upgrade -y
apt install ca-certificates apt-transport-https lsb-release curl
nano unzip -y
wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list
apt-get update
apt -y install software-properties-common
add-apt-repository ppa:ondrej/php
apt update
apt install apache2 -y
apt install php7.4 php7.4-cli php7.4-curl php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-xml php7.4-xsl php7.4-zip php7.4-bz2 libapache2-mod-php7.4 -y
apt install mysql-server mysql-client -y
cd /usr/share
wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip -O phpmyadmin.zip
unzip phpmyadmin.zip
rm phpmyadmin.zip
mv phpMyAdmin-*-all-languages phpmyadmin
chmod -R 0755 phpmyadmin
nano /etc/apache2/conf-available/phpmyadmin.conf
# phpMyAdmin Apache configuration
Alias /phpmyadmin /usr/share/phpmyadmin
<Directory /usr/share/phpmyadmin>
Options SymLinksIfOwnerMatch
DirectoryIndex index.php
</Directory>
# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/templates>
Require all denied
</Directory>
<Directory /usr/share/phpmyadmin/libraries>
Require all denied
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
Require all denied
</Directory>
Speichern STRG + O, STRG + X
a2enconf phpmyadmin
systemctl reload apache2
mkdir /usr/share/phpmyadmin/tmp/
chown -R www-data:www-data /usr/share/phpmyadmin/tmp/
danach noch eine kleine Anpassung der "config.inc.php" unter /usr/share/phpmyadmin/
die Zeile
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
mit einem mindesten 32 Zeichen Schlüsselwort versehen.
Das wars, alles läuft sauber ohne Fehler
Die Quelle die mir dabe geholfen hat:
https://www.bennetrichter.de/anleitunge ... hpmyadmin/
Jetzt geht es weiter, aber da mache ich ein neues Thema auf
Danke und LG bleibt gesund
Alois