Skip to content

Instantly share code, notes, and snippets.

@jgaydos
jgaydos / ubuntu18.04_php7.3_sqlsrv.sh
Last active November 21, 2022 21:02
Ubuntu 18.04 + PHP7.3 + SQLSRV
#!/bin/bash
#ubuntu 18.04
#php7.3
# install php ppa
apt -y install software-properties-common
add-apt-repository ppa:ondrej/php -y
apt update
@GhazanfarMir
GhazanfarMir / Instructions.sh
Last active May 14, 2024 03:26
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu 16.04
########## Install NGINX ##############
# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa
@georgecoca
georgecoca / microsoft_drivers_sql_server_php_fpm.sh
Created October 7, 2016 11:58
Install Microsoft drivers SQL SERVER for PHP 7 (PHP-FPM)
# Run as root
sudo su
# Change location
cd ~
# Install the unixODBC driver manager and Microsoft ODBC driver for Linux
wget https://raw.githubusercontent.com/Microsoft/msphpsql/PHP-7.0-Linux/ODBC%20install%20scripts/installodbc_ubuntu.sh
# Run installer