Posted on 03-10-2017 12:52 PM
Learned the hard way that "export PATH=<directory path>:$PATH" is a temporary setting, now trying to figure out how to apply it globally.
Long version: I've upgraded PHP on all of our 10.11 systems to 5.6, but now trying to update the path so that "php -v" returns the updated value. What is the best way to push this to all users, without stomping on the profiles of any users who may have already customized their settings?
Posted on 03-10-2017 01:00 PM
You can edit the file /etc/paths to add the directory to all user accounts.
Posted on 03-10-2017 01:28 PM
Awesome, thank you! Knew I'd seen it somewhere, just blanking out on a Friday afternoon.