Skip to content

Instantly share code, notes, and snippets.

View AWS-ServerLink's full-sized avatar

Mikey AWS-ServerLink

View GitHub Profile
@AWS-ServerLink
AWS-ServerLink / git-deployment.md
Last active May 20, 2019 09:34 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks (Windows)

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.

@AWS-ServerLink
AWS-ServerLink / linux-php-pdo_sqlsrv.md
Last active November 3, 2023 10:05
How to get Microsoft PHP drivers working with Amazon Linux 2 (pdo_sqlsrv, sqlsrv_connect)

Prerequisites

  • Amazon Linux 2 EC2 instance
  • Firewall port 80 open
  • Base Linux sysadmin ability

Steps

  • SSH into your Amazon Linux 2 instance
  • Make a test sqlsrv_connect page in your document root (eg /var/www/html/) see below