sudo apt-get install apache2 apache2-utils
sudo apt-get install libapache2-mod-php5 php5 php-pear php5-xcache
sudo apt-get install php5-mysql mysql-server mysql-client
Now retype the password when prompted..
This completes the installation of My-SQL ,As database is installed installing phpmyadmin is a good thing to manage the database..So to install phpmyadmin type
sudo apt-get install phpmyadmin
Now when prompted choose the installed server and hit ok
When prompted give the password for application and then for root user..
sudo nano /etc/apache2/apache2.conf
move to the end of file by continuously pressing ctrl+V and at the end add the following line
Latest posts by Bikash Panda (see all)
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017
- DHT12 Interfacing with Raspberry Pi using Pi4J - June 19, 2017
- Send data using MQTT from Raspberry Pi with JAVA - June 12, 2017