Install PHP and MySQL in Ubuntu 15.10


There are few step for installing the PHP5 and MySQL on UBUNTU 15.10

We need to install LAMP stack which is group of open source software for setuping web server.
LAMP stands for : Linux , Apache , MySQL and PHP.



Step 1. Update the install packages on UBUNTU.
sudo apt-get update

Step 2.  Installing apache
sudo apt-get install apache2

Step 3. Installing PHP5 and core library for apache2
sudo apt-get install php5 libapache2-mod-php5 

Step 4. Installing MySQL
sudo apt-get install mysql-server

Step 5. Installing MySQL library for apache2 and php5
sudo apt-get install libapache2-mod-auth-mysql php5-mysql 

Step 6. Restart Apache2
sudo service apache2 restart

Previous
Next Post »