$sudo apt-add-repository ppa:ondrej/php
$sudo apt-add-repository ppa:ondrej/apache2
$apt list --upgradable
$sudo apt update
$sudo apt upgrade
#cd /etc/apache2/mods-enabled
#mv php7.2.conf php7.2.conf.org
#mv php7.2.load php7.2.load.org
lrwxrwxrwx 1 root root 29 12月 13 2018 php7.2.conf.org -> ../mods-available/php7.2.conf
lrwxrwxrwx 1 root root 29 12月 13 2018 php7.2.load.org -> ../mods-available/php7.2.load
lrwxrwxrwx 1 root root 29 2月 29 23:12 php7.4.conf -> ../mods-available/php7.4.conf
lrwxrwxrwx 1 root root 29 2月 29 23:12 php7.4.load -> ../mods-available/php7.4.load
#apachectl -D DUMP_MODULES
#update-alternatives --display php
#update-alternatives --config php
Views: 34