Today, I will share how to setup a Nginx Webserver allowing you to create dynamic web applications with Nginx, PHP5 and MySQL, Please make sure that you've a fresh Ubuntu Server with just OpenSSH Server installed. This tutorial will work on any Ubuntu Flavor. Step 1

Shell
apt-get update -y

Step 2

Shell
apt-get install memcached php5-cli php5-fpm php5-mysql php5-curl php5-gd php5-imagick php5-mcrypt php5-memcached php5-imap python-software-properties software-properties-common -y

That's it - now you have to install Nginx with Google Page speed by following this tutorial, You can install Percona DB using this tutorial

Was this worth your time?