Varying-Vagrant-Vagrants / VVV

An open source Vagrant configuration for developing with WordPress
https://varyingvagrantvagrants.org
MIT License
4.55k stars 849 forks source link

Q: PHP version #2694

Closed mcyzyk closed 7 months ago

mcyzyk commented 7 months ago

I have set PHP 8.0 in my config.yml and have provisioned. The VVV dashboard indicates that PHP 8.0 is active for my site.

BUT from inside the site, Health Check is reporting that PHP 7.4.33 is what's active. (please see attached screenshot.)

No fair!

How to remedy?

Mark

snapshot1

tomjn commented 7 months ago

which version of VVV are you using? Did you add PHP 8.0 to the extensions section? If you request e.g. PHP 8.1 it will only use 8.1 if it's installed and instead fallback to the default.

The dashboard is showing 8.0 because that's what you requested, not because that's what it's using

mcyzyk commented 7 months ago

Thanks, Tom!

Very helpful. I'm now up and running with PHP 8.0.

Appreciatively,

Mark