Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

How to change PHP $PATH setting?

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

I have done this before, but i forget the location of the file.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I found it, it located at /etc/paths we can edit it from terminal with this code

sudo nano /etc/paths
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.