cretueusebiu/valet-windows

PHP version used by CLI not the same as the PHP-FPM?

danielfowler opened this issue · 0 comments

I am building a Statamic 4 site and their utilities think I'm running PHP 8.1.12 but the only version I have installed in the path of my system environment variables is PHP 8.2.3. If I run php -v it says 8.2.3.

Statamic's dev team says my local environment (Valet for Windows) is to blame, citing an outdated PHP-FPM on the web server.

I'm a front-end guy so I'm stretching my understanding of local environments by learning there might be multiple versions of PHP used by Valet? If this is true, how do I update my PHP-FPM?