How to Install Apache, MySQL and PHP on Ubuntu 20.10
How to Install Apache, MySQL and PHP on Ubuntu 20.10 1. Install Apache :- sudo apt-get update -y #using the -y option will automatically accept the conditions of the source update sudo apt-get install apache2 -y sudo apt-get install apache sudo systemctl start apache 2. Install MySQL:- sudo apt-get install mysql-server -y sudo /usr/bin/mysql_secure_installation 3. Install PHP:- sudo apt-get install php -y sudo apt-get install -y php-{bcmath,bz2,intl,gd,mbstring,mcrypt,mysql,zip} sudo apt-get install libapache2-mod-php -y sudo systemctl enable apache service sudo systemctl enable mysql.service systemctl restart apache service cd /var/www/html/ rm index.html gedit index.html save and exit Press