Do not require restart when PHP installation(s) change #219
Labels
enhancement
New feature or request.
implemented & available via early access
Available in Early Access preview for sponsors.
Milestone
Describe the bug
I type
brew upgrade
sometimes and it seems to clean all the older versions of PHP except the linked one. The problem is that those versions are still displayed in the phpmon menu. When i try to switch to a version that has been removed, phpmon crashes with no error message. If i reinstall for example php@8.1 with brew and i try to switch to this version it is working again.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I probably shouldn't use the
brew upgrade
command but it took me some minutes to figure out that the PHP version was missing. An error message with these informations would be great. Like :"The version you're trying to use is missing, type "brew install php@x.x" to fix that isssue."
Or even better, if the version is missing, auto-install it.
Required information
The text was updated successfully, but these errors were encountered: