Skip to content

Instantly share code, notes, and snippets.

Avatar

Dustin Brownell brwnll

  • Ada Support
  • North Bend, WA
  • Twitter @brwnll
View GitHub Profile
@sumardi
sumardi / nginx.default.conf
Last active Sep 11, 2022
Install PHP-FPM, Nginx & MySQL on EC2 with Amazon Linux AMI
View nginx.default.conf
# 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 \