I am using homestead_improved to do php development. I see the latest php version (7.3.x) installed when I do php -v on command line. However, when I run phpinfo() from inside a php script in the ‘public’ folder I see the php version being used as 7.0.x.
I see the option of going into /etc/nginx/sites-enables and changing the php version in each app that I have created. But that is cumbersome.
Question is: How do / what do / where do I make changes so that the nginx server uses the latest php version by default?