title: Upgrading to PHP 5.6 on OSX
body: <p>Im trying to run a command:</p>
  
  <pre><code> sudo php bin/magento indexer:reindex
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Magento supports PHP 5.6, 7.0.2, and 7.0.6 or later. Please read http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements
  </code></pre>
  
  <p>Then i did:</p>
  
  <pre><code>curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6
  </code></pre>
  
  <p>That seemed to work.</p>
  
  <p>So i tried to run the command again.</p>
  
  <p>Same error.</p>
  
  <p>Then i did php -v </p>
  
  <p>Output:</p>
  
  <pre><code>PHP 5.5.24 (cli) (built: May 19 2015 10:10:05) 
  Copyright (c) 1997-2015 The PHP Group
  Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
  </code></pre>
  
  <p>Then i tried installing again using:</p>
  
  <p>curl -s <a href="http://php-osx.liip.ch/install.sh" rel="nofollow">http://php-osx.liip.ch/install.sh</a> | bash -s 5.6\</p>
  
  <p>Output: </p>
  
  <p>Already installed.</p>
  
  <p>Im using osx yosemite </p>