title: How to override the path of PHP to use the MAMP path?
body: <p>After screwing up entirely my PHP configuration on MAC trying to get the SOAP module working (-bash: /usr/bin/php: No such file or directory
  ....) I now have to use MAMP but each time I have to type the path </p>
  
  <pre><code>Applications/MAMP/bin/php5.3/bin/php to do command line.
  </code></pre>
  
  <p><strong>How to just type php instead the entire path on MAC ?</strong> I double checked and i do not have a file named <code>.profile</code> nor <code>bash_profile</code></p>
  
  <p>Thanks</p>
  
  <p>PS: Here's what output echo $PATH : </p>
  
  <pre><code>echo $PATH
  /Applications/MAMP/Library/bin/:/Applications/MAMP/bin/php5/bin/:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin
  </code></pre>