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

How to use php80 #2645

Closed shanebp closed 1 year ago

shanebp commented 1 year ago

I cannot use php80 for any site. It is loaded during provision, but all sites use PHP Version 7.4.33. The log The config.yml

tomjn commented 1 year ago

Can you re share those gists? It just leads to your main gist page with a 404

On Wed, 14 Dec 2022 at 23:44, shanebp @.***> wrote:

I cannot use php80 for any site. It is loaded during provision, but all sites use PHP Version 7.4.33. The log https://gist.github.com/shanebp/bad7c3617c0f0db1456d1382b850fcf2 The config.yml https://gist.github.com/shanebp/aba1e04a0863d9b5f370b45071c0b755

— Reply to this email directly, view it on GitHub https://github.com/Varying-Vagrant-Vagrants/VVV/issues/2645, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAOLZ6SLBUQYFVS3P26OWTWNJLXDANCNFSM6AAAAAAS7DLSXA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

shanebp commented 1 year ago

Sorry, deleted them because I solved this myself for once. Please delete this issue.

tomjn commented 1 year ago

on the latest VVV it should be as simple as making sure PHP 8 is installed in the extensions section, then adding php: 8.0 to the site you want to run with PHP 8 and reprovisioning.

Note that the dashboard was unaware of the new php: option though, and relied only on the old nginx upstream, so it would incorrectly display php74 for a PHP 8.0 site. This was removed last night, and there's a PR to re-add it with the proper support

shanebp commented 1 year ago

Thanks for the info. I was using nginx upstream.