LEMP
is Linux, Nginx, MySQL (MariaDB), PHP
- Install Nginx
sudo apt-get update
sudo apt-get install nginx
- Install MySQL
sudo apt-get install mysql-server
or MariaDBsudo apt-get install mariadb-server
- Install PHP
sudo apt-get install php5-fpm php5-mysql
then edit php.ini file: sudo nano /etc/php5/fpm/php.ini
,uncomment & change
cgi.fix_pathinfo=1
to cgi.fix_pathinfo=0
then
sudo service php5-fpm restart
Install phpMyAdmin with Nginx