Hi @Nerozhang,
Upgrading the PHP version in our stacks is not straightforward. The easiest way to do so is by installing a new installation and migrating the data from one installation to the other one.
Please note that you will also need to migrate the database information.
Let us know if you have any questions during the migration process