For Mac with Home-brew
brew install phpAfter install with Home-brew, the location of both the default and new install can be seen below;
the latter is the original Mac install.
Also see here
For Debian;
sudo apt-get install php
then
sudo apt-get install php7.3-cgi
Note, replace the 7.3 with whatever php version was installed in the previous step.
This can be checked by
php -version
or
dpkg -s php
No comments:
Post a Comment
Note: only a member of this blog may post a comment.