Open dorneanu opened 3 years ago
in your case you needed
/opt/homebrew/opt/php@8.0/bin/
. honestly i'm not 100% sure why. i haven't had a M1 yet. i guess it's because it's a versioned formula, and i guess you haven't linked it? i think homebrew installs versioned formulae but doesn't link them by default. but at the same time thewhich php
works. don't know man. just pretending here.
I thought of this and I did link it as well on Friday evening, so you can rule that out. Whenever you get an Apple Silicon computer (or if you do), then I'd be curious what you find here.
I mean, this product is basically a free gift to anybody who shares your needs and taste, so you could start dropping f-bombs right in the UI and I'd be good with it.
yeah that's what i think too. probably i should just stop in the paid apps.
I definitely added the extra /php at the end there.
yes, so, cannot. it has to be the path that leads to the executables. not the executables themselves.
But FWIW, I also tried your second suggestion, and it didn't work. I got the same error where it couldn't find PHP. It was one of my many troubleshooting attempts on Friday night. ¯_(ツ)_/¯
huh. that is even stranger. but ok if it works now, better not touch it 😂
in your case you needed
/opt/homebrew/opt/php@8.0/bin/
. honestly i'm not 100% sure why. i haven't had a M1 yet. i guess it's because it's a versioned formula, and i guess you haven't linked it? i think homebrew installs versioned formulae but doesn't link them by default. but at the same time thewhich php
works. don't know man. just pretending here.I thought of this and I did link it as well on Friday evening, so you can rule that out. Whenever you get an Apple Silicon computer (or if you do), then I'd be curious what you find here.
will definitely do. have and let you know. just waiting for a Mac Mini update. i like portable stuff.
Hi,
I've been trying to add this workflow to Alfred, however, I had the wrong PHP version installed:
I've installed PHP 7.3 using brew:
But that is afterwards located at
/usr/local/opt/php@7.3/bin/php
. How should I change/tell the script to use that binary?Thanks in advance.