Install Microsoft Azure CLI on Ubuntu

To install Microsoft Azure CLI on Ubuntu, run

Now run

You will be able to use az command now.

Autenticate with Azure


See az

Install PHP 7.2 on CentOS from yum

First you need to install Remi repository

Enable epel repo with

On CentOS 7

On CentOS 6

Enable PHP 7.2

To install PHP, run

Downgrading PHP version

if you ever want to change PHP version, lets say PHP 7.0, do the following. Remove current PHP

Disable PHP 7.2 repo.

Enable PHP 7.0 repo

Now install PHP as above.

PHp Binary

PHP cli will be installed in /usr/bin/php72, you can create a symlink if you want.


To install php-fpm module, run

To start php-fpm, run

See CentOS, php

Nginx upstream timed out

Edit nginx.conf

Inside http {} block, add

See nginx

WHM Software Module Installers

Install ImageMagick PHP module in Cpanel Server

To install ImageMagick on Cpanel Server, in root SSH, run

To install PHP Module, login to WHM as user root.

WHM > Software > Module Installers

WHM Software Module Installers

Click on Manage link for PHP Pecl.

Cpanel PHP Pecl Installer

Select the PHP version from drop down list on which you need ImageMagick PHP module installed.

Search for “imagick”.


Click on install link to install imagick PHP module.

Install Google Chrome on CentOS 7 64 bit

To install Google Chrome on CentOS 7 (Chrome won’t work on CentOS 6 as it is using older version of libraries required for Chrome).

First create repo file

Add following content

Now you can install google chrome with command

See CentOS

Sending Emails from PHP using Amazon SES

To create a PHP script to sent email using Amazon SES, create a folder

Install phpMailer using composer

Create a PHP file with following content

Now test it by running