#!/bin/bash
sudo apt-get install apache2
sudo systemctl start apache2.service
sudo systemctl stop apache2.service
sudo systemctl start apache2.service
sudo systemctl enable apache2.service
sudo systemctl restart apache2.service
sudo systemctl reload apache2.service
# https://www.youtube.com/watch?v=X6zGoHMrnOQ&feature=youtu.be



#!/bin/bash
sudo apt install mysql-server
# Check MYSQL Version
mysql --version
#To stop MYSQL
sudo service mysql stop
#To START MYSQL
sudo service mysql start
#To RESTART MYSQL
sudo service mysql restart

#https://www.youtube.com/watch?v=XQ8fnBfMKUQ



#!/bin/bash
sudo apt install php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-gd php-mysql php-mbstring php-xml libapache2-mod-php
#to check version
php --version

#https://youtu.be/nmLWgawACC0



#!/bin/bash
sudo apt-get install phpmyadmin php-mbstring php-gettext -y
sudo mysql -u root -p
sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
sudo systemctl restart apache2.service
#To verify instalation got your browser and type http://localhost/phpmyadmin then press enter
#https://youtu.be/dF3ulwLY7XA