Skip to content

Instantly share code, notes, and snippets.

View nathanfitzgerald's full-sized avatar

Nathan Fitzgerald nathanfitzgerald

View GitHub Profile
@nathanfitzgerald
nathanfitzgerald / nginx.default.conf
Last active December 24, 2015 06:49 — forked from sumardi/nginx.default.conf
Install PHP-FPM, Nginx & MySQL on EC2 with Amazon Linux AMI configured for wildcard domains and MODX Revolution
# 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 \