Closed hostep closed 1 year ago
Hi guys
I've just started testing this package on my system (macOS) and noticed I can't run vendor/bin/phpunuhi, I get:
vendor/bin/phpunuhi
/usr/bin/php: bad interpreter: No such file or directory
This is because the shebang at the top of the bin script is hardcoded instead of trying to find the correct php binary from the environment.
So the line:
#!/usr/bin/php
Should be replaced with:
#!/usr/bin/env php
This is also how other php packages do this, for example:
Thanks!
Hi there
a perfect, nice one thank you
ill add it soon
thanks
released in latest version :)
Thanks! 🙂
always happy to help :)
Hi guys
I've just started testing this package on my system (macOS) and noticed I can't run
vendor/bin/phpunuhi
, I get:This is because the shebang at the top of the bin script is hardcoded instead of trying to find the correct php binary from the environment.
So the line:
Should be replaced with:
This is also how other php packages do this, for example:
Thanks!