Tag: apache

Setup Apache 2 & PHP 5.6 environment on Ubuntu 16.04

Install Apache

https://help.ubuntu.com/lts/serverguide/httpd.html

sudo apt install apache2

Check computer name

hostname

Returned ‘userver’. I’ll use it in apache configuration for setting sub-domains.

Setup enabled sites. I.e directories and its host names. I’ll setup localhost, local ip address and subdomain main.userver to point to same directory of my main project. I’ll keep the apache default page for reference on address apache.userver

Continue reading “Setup Apache 2 & PHP 5.6 environment on Ubuntu 16.04”