PHP Upgrade 7.1 auf 7.2
dpkg --get-selections | awk '/php7.1/{print $1}' > /tmp/php7.1.packages.txt
cp /tmp/php7.1.packages.txt /tmp/php7.2.packages.txt
sed -i '/php7.1-mcrypt/d' /tmp/php7.2.packages.txt
sed -i -e 's/php7.1/php7.2/g' /tmp/php7.2.packages.txt
cat /tmp/php7.1.packages.txt | xargs sudo apt-get -y purge
cat /tmp/php7.2.packages.txt | xargs sudo apt-get -y install
sudo apt-get autoremove
sudo apt-get clean
sudo service php7.2-fpm restart
sudo service nginx restart