I have a site running Magento-CE-2.1.5 in a ubuntu server.
I have 2 PHP versions running alongside:
- PHP 7.0.18
- PHP 7.1.6.
Each time i try to setup Magento it shows PHP version 7.0.18 but the real problem is that I need to make few changes and compile the projects.
At the time of compiling, the Magento PHP command uses PHP version 7.1.6. How can i make the project use PHP version 7.0.18 during compilation?
I have PHP 7.1.6 version as it was required by a Laravel site running PHP 7.1.6.