- Apache
- Configure PHP
- Configure VirtualHosts
- PHP
- Install x-debug
- Install imagemagick
- MySQL
- Dynamic Hosts?
Install
sudo apt-get update
sudo apt-get install apache2
Confirm
# apache2ctl - Apache HTTP server control interface
sudo apache2ctl configtest
To suppress the warning, open /etc/apache2/apache2.conf and set the ServerName directive to your primary domain name or public IP.
ServerName newinstall.host
Install
sudo add-apt-repository -y ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.1
Confirm
php -v
Confirmation Result
PHP 7.1.3-3+deb.sury.org~xenial+1 (cli) (built: Mar 25 2017 14:00:03) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.3-3+deb.sury.org~xenial+1, Copyright (c) 1999-2017, by Zend Technologies
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer