Running macOS Sierra.
How can I complete remove all links to the default installed PHP version? I have installed PHP 7 through homebrew but when I run scripts that call external CLI applications programatically they still seem to end up using PHP 5.6.25 which is the default installed PHP version.
What can I do to break all ties to this PHP version?
php -v and
phpinfo() already show the proper PHP7 version that I installed. Somehow some scripts still try to look for the default version.
I already read you cannot simply delete it.
If you need more info please let me know.