Artikulo Ko To!

Anyone can write on Artikulo Ko To!  Start Writing! facebook Read what matters to you.

How to Install LAMP on UBUNTU?

Category: Technology |  Author: JB Llanda |  Published: 2017-08-24 16:03:01 |  Times Read: 181

Here's a simple instruction on how to install LAMP on UBUNTU.

1. Install Apache: sudo apt-get install apache2

2. Install MySQL: sudo apt-get install mysql-server

3. Install PHP7: sudo apt-get install php7.0-cli libapache2-mod-php7.0

4. Restart Server: sudo /etc/init.d/apache2 restart

5. Check if Apache is working by typing http://localhost on your browser.

6. Check if PHP is working: php -r 'echo " Your PHP installation is working fine. ";'

You have now successfully installed LAMP on your UBUNTU.

Comments