install apache2 mysql php ubuntu 18.04

Shell
sudo ufw app listsudo ufw allow in "Apache Full"
#allow fill stack
Source

Also in Shell: