Hello to all, welcome to therichpost.com. In this post, I will tell you, How to install apache, mysql, php on ubuntu?
Here are the steps to install apache, mysql, php on ubuntu:
//install apache sudo apt-get install apache2 sudo service apache2 restart sudo systemctl status apache2 // install php sudo add-apt-repository ppa:ondrej/php -- set php dependencies sudo apt-get update sudo apt-get install php7.2 //php libraries sudo apt-get install php7.2-curl php7.2-gd php7.2-json php7.2-mbstring php7.2-intl php7.2-mysql php7.2-xml php7.2-zip sudo service apache2 restart //install phpyadmin sudo apt-get install -y phpmyadmin //install mysql sudo apt-get update sudo apt-get install mysql-server sudo mysql_secure_installation utility sudo ufw enable sudo ufw allow mysql sudo systemctl start mysql sudo systemctl enable mysql sudo systemctl restart mysql //go to mysqlshell... /usr/bin/mysql -u root -p
If you have any query then please let me know.
Jassa
Thank you
Recent Comments