You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation of Valet+, php8.1 is required for installation. So first we need to install php8.1 with brew install [email protected] before installing the Valet+ services with valet-plus install. The install command uses the same command of Laravel's valet "under the hood". This laravel valet install command, by default, installs php using Brew, which is the latest version of php (currently 8.4).
The result is two running php versions after completion of the valet-plus install command. Which leads to numerous issues. Like the following.
mischabraam@WP-LT-20 valet-plus % valet-plus elasticsearch use opensearch2
Password:
PHP Deprecated: {closure:/Users/mischabraam/Development/Tools/valet-plus/cli/valet.php:293}(): Implicitly marking parameter $mode as nullable is deprecated, the explicit nullable type must be used instead in /Users/mischabraam/Development/Tools/valet-plus/cli/valet.php on line 293
brew services ls shows the two running php versions.
mischabraam@WP-LT-20 valet-plus % brew services ls
Name Status User File
dnsmasq none root
mailhog none root
nginx started root ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
php none root
[email protected] started root ~/Library/LaunchAgents/[email protected]
Work around is to manually stop the latest version of php and link php8.1 with the following commands.
According to the documentation of Valet+, php8.1 is required for installation. So first we need to install php8.1 with
brew install [email protected]
before installing the Valet+ services withvalet-plus install
. Theinstall
command uses the same command of Laravel's valet "under the hood". This laravel valetinstall
command, by default, installsphp
using Brew, which is the latest version of php (currently 8.4).The result is two running php versions after completion of the
valet-plus install
command. Which leads to numerous issues. Like the following.brew services ls
shows the two running php versions.Work around is to manually stop the latest version of php and link php8.1 with the following commands.
The text was updated successfully, but these errors were encountered: