First look at your own version of LNMP, different versions of PHP to upgrade the way a little different.
Before upgrading PHP, please confirm that your website program supports the upgrade to PHP version, prevent the upgrade to the website program is not compatible with the PHP version, specific to the PHP program you use the official website to query the relevant version support information. V1.3 can also be degraded in most cases. Execute:./upgrade.sh php to php:downloads get the version number, enter the version number, such as 5.3.28 enter, enter again to confirm to start the upgrade.
If you need to compile additional parameters, LNMP version 1.3 can modify the quotation marks of the php_modules_options parameter in the lnmp.conf configuration file to add other required parameters.
LNMP version 1.2 modified include/upgrade_php.sh file
Add additional modules as required in the double quotes of the php_modules_arguments= "" parameter, separate the module parameter spaces, and then run the upgrade
LNMP PHP Version upgrade