php-Version ändern
APACHE sudo a2dismod php7.0 sudo a2enmod php7.1 sudo service apache2 restart CLI sudo update-alternatives --config php oder (manuell): sudo update-alternatives --set php /usr/bin/php7.1 sudo update-alternatives --set phar /usr/bin/phar7.1 sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.1 sudo update-alternatives --set phpize /usr/bin/phpize7.1 sudo update-alternatives --set php-config /usr/bin/php-config7.1
Check for apache modules
check
apachectl -t -D DUMP_MODULES apachectl -M
enable by
a2enmod rewrite
Delete Firewall rules by rule number
Easiest and best method is to remove firewall rules by the rule number. We can find the corresponding rule number using ufw status numbered command.
ufw status numbered
Then Delete the rule using ufw delete command. or example, if you want to delete rule number '2', execute.
ufw delete 2