Skip to content

Instantly share code, notes, and snippets.

@roberthgodoy
roberthgodoy / amazon-ec2-ftp.md
Created December 27, 2018 23:37 — forked from gunjanpatel/amazon-ec2-ftp.md
amazon ec2 LAMP and FTP installation and setup
@roberthgodoy
roberthgodoy / upgrade-php7.sh
Created December 23, 2018 14:10 — forked from jaredholdcroft/upgrade-php7.sh
Upgrade PHP 7.0 to 7.1 on Amazon Linux (specifically for Elastic Beanstalk but should work elsewhere)
#!/usr/bin/env bash
# Upgrade an Amazon Linux PHP 7.0 EC2 to PHP 7.1
#
# Must be ran as sudo:
# sudo bash upgrade-php71.sh
#
# Can be added to ./.ebextensions/20_php.config like so:
# container_commands:
# 20_php71_upgrade:
# command: sudo bash scripts/upgrade-php71.sh