benj
1
Hello,
After seing this post showing how another member used php:
I installed php on Monterey using Homebrew and tried a very simple macro:
However the behavior is not, at all, what is expected, see the results:
I have no clue what's going on because I know php is installed where the sheband says it's installed:
I must be doing something wrong.
Any idea?
Thanks a lot!
I think Homebrew's PHP has short tags disabled by default. Try full tags and see if that works.
<?php
echo "Hello, world!"
?>
I tried short and full tags on my computer (where I also have Homebrew's PHP installed). Full tags worked; short tags got the same result as you.
benj
3
wowow nice find, I didn't see that !! It's working with full tag