title: Magento 2 reindex mcrypt blowfish error
body: <p>I'm trying to reindex my Magento indexes through my terminal (I'm using osx &amp; mamp) with this command:</p>
  
  <pre><code>php magento indexer:reindex
  </code></pre>
  
  <p>When I do this I receive the following error:</p>
  
  <pre><code>Could not open input file: magento
  </code></pre>
  
  <p>I Googled this error and it says that I'm supposed to use this command:</p>
  
  <pre><code>php bin/magento indexer:reindex
  </code></pre>
  
  <p>And that results into this error:</p>
  
  <pre><code>Use of undefined constant MCRYPT_BLOWFISH - assumed 'MCRYPT_BLOWFISH'
  </code></pre>
  
  <p>I looked it up and Google says that this is caused because I don't have mcrypt enabled in my php.ini, but I do have this enabled:</p>
  
  <pre><code>extension=mcrypt.so
  </code></pre>
  
  <p>How do I fix this?</p>