wrong PHP Path on Custom Server configuration
Posted: October 19th, 2018, 9:09 am
When I use a custom Server for my PHP Project (nginx) the Runtime PHP version is set to unknown.
When I now open a comand prompt or run the composer it uses PHP 5.6 even when my PHP project setting (Application tab) is set to 7.1
In the comand prompt I can see that the path 5.6 path was added before the regular path.
(When I use the IIS Express the PHP Version is correct)
How can I use nginx and make sure the project uses the PHP version from the Application setting?
Setup: VS Pro 2017, PHP Tools 1.29.10925, nginx, PHP 5.6, PHP 7.1 and PHP 7.2 installed, Project is Magento 2
Thanks for your help
When I now open a comand prompt or run the composer it uses PHP 5.6 even when my PHP project setting (Application tab) is set to 7.1
In the comand prompt I can see that the path 5.6 path was added before the regular path.
(When I use the IIS Express the PHP Version is correct)
How can I use nginx and make sure the project uses the PHP version from the Application setting?
Setup: VS Pro 2017, PHP Tools 1.29.10925, nginx, PHP 5.6, PHP 7.1 and PHP 7.2 installed, Project is Magento 2
Thanks for your help