How to change PHP $PATH setting?
PHP
$PATH
I am using MAMP 2.x, my terminal for PHP command is already set to the MAMP PHP 5.3.x, but now I want to change to PHP 5.2.x
5.3.x
5.2.x
I have done this before, but i forget the location of the file.
I found it, it located at /etc/paths we can edit it from terminal with this code
/etc/paths
sudo nano /etc/paths
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the privacy policy and terms of service.
tagged
asked
1 year ago
viewed
776 times
active