This is a tutorial on setting up LAMP server on Linux Mint and use PHP 7.1 instead of 7.2 version.