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: How can I do a clean install and provision with PHP8.0? #2663

Closed GuiSCI closed 1 year ago

GuiSCI commented 1 year ago

I have been trying to set up a new VVV but want it to run PHP8.0 (not PHP7.4) In the config.yml I added php: 8.0 in the sites section and php80 in the extensions section, as mentioned here: https://varyingvagrantvagrants.org/docs/en-US/adding-a-new-site/changing-php-version/ But no luck; the sites are still using PHP7.4 after provisioning. How can I make it work with 8.0? Thank you! Gui

tomjn commented 1 year ago

did you try this using the stable branch or the develop branch? The information in the bug report and in the placeholder was really important for this!

But also this is a really really common problem that happens a lot and the answer is always the same, this is fixed on the develop branch

GuiSCI commented 1 year ago

I copy/pasted from https://varyingvagrantvagrants.org/docs/en-US/installation/ and didn't realize I still had to use the develop branch, sorry. Also there was no bug report; it all worked fine, just was not using PHP8.0. Anyway, I redid everything with the develop branch and it working now :-) Thanks again.

VVV
Installation
VVV can be installed with git by cloning the main VVV repo into a local directory or by downloading a zip file. Start VVV with ‘vagrant up’.
tomjn commented 1 year ago

develop got merged into stable last night! But if you have issues in the future, it's best practice to checkout develop to check it hasn't already been fixed