Stopped working for me after Monterey update
AnKingMed opened this issue · 8 comments
It still pulls up in alfred, but it can no longer find the codes in imessage
@AnKingMed Same thing happened to me. I figured it out... Monterey no longer includes php
by default.
So you need to install php with Homebrew etc.
brew install php
Then, edit the workflow script to include the full path, e.g. on an M1 mac it would be /opt/homebrew/bin/php
thanks got it working again :)
On Intel it's probably /usr/local/bin/php
but if you type which php
in Terminal it should tell you @AnKingMed
Finally working. Thanks for the help
FYI, the removal of PHP in Monterey is discussed on the Alfred blog.
For users with multiple Macs - Intel & M*
and PHP installed via brew I added the following to help with sync
export PATH=$PATH:/usr/local/bin/:/opt/homebrew/bin/
php find-messages.php $look_back_minutes
Thanks for working through this! I just released a new version that figures out where php
is located on your system. It checks for these paths and uses the first one it finds:
php
/usr/local/bin/php
/opt/local/bin/php
/opt/homebrew/bin/php
/usr/bin/php