Skip to content

Instantly share code, notes, and snippets.

View zenrobin's full-sized avatar

Robin Johnson zenrobin

View GitHub Profile
@zenrobin
zenrobin / nginx.default.conf
Created June 27, 2017 06:21 — forked from sumardi/nginx.default.conf
Install PHP-FPM, Nginx & MySQL on EC2 with Amazon Linux AMI
# Install linux update, followed by GCC and Make
sudo yum -y update
sudo yum install -y gcc make
# Install Nginx and PHP-FPM
sudo yum install -y nginx php-fpm
# Install PHP extensions
sudo yum install -y php-devel php-mysql php-pdo \
php-pear php-mbstring php-cli php-odbc \