Can not switch from 7.4 to 8.0 or 8.1 after trying to add 8.1 #781
Unanswered
lambertbeekhuis
asked this question in
Q&A / Help
Replies: 1 comment
-
Please remove When you run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having Big Sur, and I used to be able to switch between php 7.4 and 8.0. Very nice!!!
But... I am stuck on 7.4 only after trying to add 8.1.
Here is what i Idid:
I tried to switch to 7.4 or 8.0, but for I am stuck on PHP 7.4 now, and cannot switch either to 8.0 or 8.1
(yes, I closed and opened the terminal)
During the process somewhere I was asked to update 7.4 to my $PATH, so I did. I was also asked brew unlink x and link, so I did.
I am confused where I am now, and how to get it running again
Currently my $PATH (echo $PATH)is:
/usr/local/opt/php@7.4/sbin:/usr/local/opt/php@7.4/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbinx:/Library/Apple/usr/bin:/sbin
If I do 'brew search php' I find many PHP's:
brew-php-switcher phpstan
php phpunit
php-code-sniffer shivammathur/php/php
php-cs-fixer shivammathur/php/php@5.6 ✔
php-cs-fixer@2 shivammathur/php/php@7.0
php@7.2 shivammathur/php/php@7.1
php@7.3 shivammathur/php/php@7.2
php@7.4 ✔ shivammathur/php/php@7.3
php@8.0 ✔ shivammathur/php/php@7.4 ✔
phpbrew shivammathur/php/php@8.0 ✔
phplint shivammathur/php/php@8.2
phpmd pcp
phpmyadmin pup
(I accidently did
mixing 5.6 and 8.0 in one command, so maybe this is the reason 5.6 is checked)
I use apache by the way.
How can I add 8.0 and 8.1 to my Big Sur again?
Beta Was this translation helpful? Give feedback.
All reactions