Skip to content

Instantly share code, notes, and snippets.

View alexvasilyev's full-sized avatar

Aleksei alexvasilyev

  • Cantharis
  • St.-Petersburg, Russian Federation
View GitHub Profile
@alexvasilyev
alexvasilyev / Instructions.sh
Created December 27, 2019 11:07 — forked from GhazanfarMir/Instructions.sh
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
/**
* @return array
*/
private function getDenominationTypesRegexps()
{
/**
* Examples:
* 1/2
* 1\2
* 2 1\2