Apache HTTP Neuinstallation (Linux)

Aus Tutorials
Zur Navigation springen Zur Suche springen

Apache HTTP

Konfiguration sichern

sudo mkdir -p /media/backup/web1/apache/2020_11_28/sites-available
sudo mkdir -p /media/backup/web1/apache/2020_11_28/conf-available
sudo cp --preserve=mode,timestamps,links,xattr /etc/apache2/sites-available/* /media/backup/web1/apache/2020_11_28/sites-available/
sudo cp --preserve=mode,timestamps,links,xattr /etc/apache2/conf-available/* /media/backup/web1/apache/2020_11_28/conf-available/

Deinstallieren

apt-get --purge remove apache

Konfiguration wiederherstellen

sudo cp /media/backup/web1/apache/2020_11_28/sites-available/* /etc/apache2/sites-available/
sudo cp /media/backup/web1/apache/2020_11_28/conf-available/* /etc/apache2/conf-available/

sudo a2ensite ...

sudo a2enmod ...

php

Deinstallieren

installierte php-Versionen anzeigen

apt list --installed | grep php

php7.3

sudo apt-get purge php7.0-common

Installierte Pakete web1 am 28.11.2020

libapache2-mod-php7.3/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
libapache2-mod-php/stable,now 2:7.3+69 all [installed]
php-bcmath/stable,now 2:7.3+69 all [installed]
php-common/stable,now 2:69 all [installed]
php-curl/stable,now 2:7.3+69 all [installed]
php-fpm/stable,now 2:7.3+69 all [installed]
php-gd/stable,now 2:7.3+69 all [installed]
php-gmp/stable,now 2:7.3+69 all [installed]
php-igbinary/stable,now 3.0.0-1 armhf [installed,automatic]
php-imagick/stable,now 3.4.3-4.1 armhf [installed]
php-intl/stable,now 2:7.3+69 all [installed]
php-json/stable,now 2:7.3+69 all [installed]
php-ldap/stable,now 2:7.3+69 all [installed]
php-mbstring/stable,now 2:7.3+69 all [installed]
php-mysql/stable,now 2:7.3+69 all [installed]
php-redis/stable,now 4.2.0-1 armhf [installed]
php-smbclient/stable,now 0.9.0-3+b1 armhf [installed]
php-tidy/stable,now 2:7.3+69 all [installed]
php-xml/stable,now 2:7.3+69 all [installed]
php-zip/stable,now 2:7.3+69 all [installed]
php7.1-common/stable,now 7.1.20-1+b2 armhf [installed,automatic]
php7.1-mcrypt/stable,now 7.1.20-1+b2 armhf [installed]
php7.3-bcmath/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-cli/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-common/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-curl/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-fpm/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-gd/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-gmp/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-intl/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-json/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-ldap/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-mbstring/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-mysql/stable,now 7.3.19-1~deb10u1 armhf [installed]
php7.3-opcache/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-readline/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-tidy/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-xml/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3-zip/stable,now 7.3.19-1~deb10u1 armhf [installed,automatic]
php7.3/stable,now 7.3.19-1~deb10u1 all [installed]
php/stable,now 2:7.3+69 all [installed]


Zurück zu Apache HTTP