Replies: 2 comments 1 reply
-
Hey, if |
Beta Was this translation helpful? Give feedback.
-
Hi, We want to ensure that everyone on our team works with the same environment, so we also rely on I’ve noticed an issue with how Given the following name: demo-herd
php: '8.4'
secured: false
aliases:
- demo-herd
- demo2-herd
- demo3-herd
services: { }
integrations:
forge: { } After running However, if I later update the PHP version to 8.3 in name: demo-herd
php: '8.3'
secured: false
aliases:
- demo-herd
- demo2-herd
- demo3-herd
services: { }
integrations:
forge: { } and then run My expectation was that all defined aliases would adopt the newly specified PHP version (8.3 in this case). Is this the intended behavior, or could this be a potential issue? As a workaround, we currently unlink all domains before running |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Description
When using
herd init
on macOS with a.herd.yml
file, Herd installs the specified PHP version correctly — for example, PHP 8.3 or PHP 8.4. However, it does not set the installed version as the global PHP version.This means I need to manually change the PHP version after each installation, which breaks the otherwise smooth workflow Herd provides.
It would be helpful if Herd provided an option to automatically set the most recently installed PHP version as the global default — or at least prompt the user to do so.
Is this feature valuable for other users as well and why?
Yes, especially for developers who frequently switch between PHP versions or automate setup workflows across projects or teams.
Having Herd automatically set the default version — or offering a flag like
--set-global
— would make PHP environment management more seamless and reduce manual steps.This could be even more useful in environments where
.herd.yml
files are shared or generated across machines (e.g., onboarding scripts, CI setups, or dotfiles).Beta Was this translation helpful? Give feedback.
All reactions