Skip to content

Instantly share code, notes, and snippets.

View tigerwk110's full-sized avatar
😋

tiger wang tigerwk110

😋
View GitHub Profile
@tigerwk110
tigerwk110 / install_app_new_relic_RPM_for_php.sh
Created April 22, 2020 09:14 — forked from simplyadrian/install_app_new_relic_RPM_for_php.sh
a bash script to install the new relic client.
#!/bin/bash -e
#
# Test for a reboot, if this is a reboot just skip this script.
#
if test "$RS_REBOOT" = "true" ; then
logger -t RightScale "New Relic PHP Agent install, skipped on a reboot.";
exit 0;
fi
@tigerwk110
tigerwk110 / upgrade-php7.sh
Created September 3, 2019 02:24 — forked from heathdutton/upgrade-php7.sh
Upgrade PHP to 7.3 on Amazon Linux (specifically for Elastic Beanstalk but should work elsewhere)
#!/usr/bin/env bash
# Upgrade an Amazon Linux EC2 to PHP 7.3
#
# Last tested w/ PHP 7.2 AWS Linux version 2.8.5
#
# Must be ran as sudo:
# sudo bash upgrade-php7.sh
#
# Can be added to ./.ebextensions/20_php.config like so:
# container_commands: