-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not switching to PHP 8.0 properly since PHP 8.1 release #54
Comments
Yes, this is currently a known issue, and is unfortunately out of my hands. Made two tweets about it yesterday. When PHP 8.1 is merged into Homebrew core this problem will be fixed. If you're curious about what’s going on with that, I'm keeping my eyes on this MR on the homebrew-core repo. See also: shivammathur/homebrew-php#679 for a temporary workaround! |
Pinning this issue until this is resolved. I'm sure other people will have the same issue as me and you :) |
Thanks for your quick reply and clear answer! Let the waiting begin 😄 |
* The information extracted from Homebrew's JSON command now also includes information about linked keg and installations. * The mapped versions in the App class now contain information about the Homebrew installation as well. * A HomebrewDiagnostics class has been added, which is currently able to detect conflicts between the `php` formulae of core and the `shivammathur/php` tap (which is currently an issue, see #54) * Alerts are now displayed as critical if they are truly problematic. * PhpInstallation was renamed to ActivePhpInstallation, to make room for a generic PhpInstallation object which contains cached info. * Shell.pipe() now returns the contents of standardError if standardOutput was empty and there was some data in standardError. This makes it easier to debug the output of commands that output to standardError. (For example, failed brew commands might.)
This issue should now be fixed. You may want to remove the tap version of 8.1 if you want to use the Homebrew core version instead. I tend to stick with the core version for supported PHP versions :) I fixed my setup by running:
After this, PHP Monitor should be able to work correctly again. To make sure all services and such are set up correctly you may want to use the Force load latest PHP version first, after which switching should work. 🤞 You can also install unsupported versions of PHP which are available via the tap (5.6, 7.0, 7.1, 7.2, 8.2 dev), those are unaffected by this issue. |
Hello 🙏
As PHP8.1 was released yesterday I, with a lot of others, obviously downloaded the new version.
This new version gets installed in /usr/local/Cellar/php. For some reason phpmon still looks for PHP8.0 in that directory (based on screenshot below and the text between the brackets) and not in the /usr/local/Cellar/pho@8.0 directory. Because of this when switching to PHP8.0 it still remains on PHP8.1.
The text was updated successfully, but these errors were encountered: