TYLOR.TECH

Search
Close this search box.

LAMP stack Ubuntu 16.04

sudo apt-get update 
sudo apt-get install apache2 sudo ufw allow in "Apache Full" 
sudo apt-get install mysql-server 
sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql 
sudo vim /etc/apache2/mods-enabled/dir.conf 

<IfModule mod_dir.c> DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm </IfModule>

sudo systemctl restart apache2 
sudo systemctl status apache2 
sudo apt-get install php-cli
Share this Post:
Scroll to Top