1. Stellen Sie LAMP VM oder Physical Machine bereit, starten Sie alle notwendigen Updates etc.
2. gehen Sie in dei “Command Shell” (im Webmin unter “Tools”) und geben Sie folgendes ein:
apt-get -y install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
apt-get update
Neustart / Reboot
apt update
apt install php7.3
a2dismod php5 php7.0
a2enmod php7.3
service apache2 restart
apt update
apt install samba
apt install webmin-samba
apt install php-mysql
service apache2 restart
3. Gehen Sie zu Webmin und dann zu System->PHP-Konfiguration-> klicken Sie auf das obere linke Zahnrad und ändern Sie
/etc/php/7.3/apache2/php.ini=Configuration for mod_php
/etc/php/7.3/cgi/php.ini=Configuration for scripts run via CGI
/etc/php/7.3/cli/php.ini=Configuration for command-line scripts
4. Sichern und Schließen
HINWEIS: Wenn ich etwas verpasst habe, lassen Sie es mich wissen, ich denke, es funktioniert vorerst gut und es wurde korrekt auf PHP 7.3 aktualisiert.
[Optional] wordpress php 7.3 Erweiterungen installieren:
apt install php7.3-bcmath
apt install php7.3-curl
apt install php7.3-cli
apt install php7.3-gd
apt install php7.3-fpm
apt install php7.3-json
apt install php7.3-mysql
apt install php7.3-gd
apt install php7.3-imagick
apt install php7.3-mbstring
apt install php7.3-pdo
apt install php7.3-xml
apt install php7.3-zip
Oder auf einen Rutsch:
apt install php7.3-bcmath php7.3-curl php7.3-cli php7.3-gd php7.3-fpm php7.3-json php7.3-mysql php7.3-gd php7.3-imagick php7.3-mbstring php7.3-pdo php7.3-xml php7.3-zip