I have written a couple of small scripts which compile, install and configure Nginx and PHP 7.2 RC5
If you would prefer to install these manually I have guides for compiling Nginx and PHP.
Please Note: These scripts will only work on a fresh install, Please do not try this on an already configured Nginx/PHP install. This WILL break your configuration and give you a headache.
How to use the scripts:
For Ubuntu
wget https://trader418.me/scripts/ubuntunginx.sh
wget https://trader418.me/scripts/ubuntunginxphp.sh
chmod a+x ./ubuntunginx.sh
chmod a+x ./ubuntunginxphp.sh
sudo ./ubuntunginx.sh #Compile and install Nginx
sudo ./ubuntunginxphp.sh #Compile and install PHP
For CentOS
Please Note: This will flush your IPTables rules, please make sure you have a backup if you have custom rules.
wget https://trader418.me/scripts/centnginx.sh
wget https://trader418.me/scripts/centnginxphp.sh
chmod a+x ./centnginx.sh
chmod a+x ./centnginxphp.sh
sudo ./centnginx.sh #Compile and install Nginx
sudo ./centnginxphp.sh #Compile and install PHP