title: brew doctor throwing loads of errors?
body: <p>I recently installed Laravel on my Mac to begin learning about it as I've heard good things.</p>
  
  <p>My first error was while accessing <code>/public/</code>:</p>
  
  <blockquote>
    <p>Laravel requires the Mcrypt PHP extension.</p>
  </blockquote>
  
  <p>I then installed <em>php54-mcrypt</em> and continued learning yesterday evening.</p>
  
  <p>I then came home today from work, hit 'brew update' and then the same error appeared?</p>
  
  <p>I then ran brew <code>install php54-mcrypt</code> to receive:</p>
  
  <blockquote>
    <p>Warning: php54-mcrypt-5.4.16 already installed</p>
  </blockquote>
  
  <p>I then ran <code>brew doctor</code> to receive;</p>
  
  <blockquote>
    <p>Warning: "config" scripts exist outside your system or Homebrew directories
        ./configure scripts often look for *-config scripts to determine if
        software packages are installed, and what additional flags to use when
        compiling and linking.</p>
    
    <p>Having additional scripts in your path can confuse software installed via
        Homebrew if the config script overrides a system or Homebrew provided
        script of the same name. We found the following "config" scripts:</p>
  
  <pre><code>/opt/sm/pkg/active/bin/curl-config
  /opt/sm/pkg/active/bin/ncurses5-config
  /opt/sm/pkg/active/bin/ncursesw5-config
  /opt/sm/pkg/active/bin/pkg-config
  /opt/sm/pkg/active/bin/xml2-config
  /opt/sm/pkg/active/bin/xslt-config
  PHP Warning:  PHP Startup: Unable to load dynamic library
  '/usr/local/Cellar/php54-mcrypt/5.4.16/mcrypt.so' - 
  dlopen(/usr/local/Cellar/php54-mcrypt/5.4.16/mcrypt.so, 9): 
  Library not loaded: /usr/local/lib/libmcrypt.4.4.8.dylib
  Referenced from: /usr/local/Cellar/php54-mcrypt/5.4.16/mcrypt.so
  Reason: image not found in Unknown on line 0
  PHP Warning:  PHP Startup: Unable to load dynamic library 
  '/usr/local/Cellar/php54-mcrypt/5.4.16/mcrypt.so' - 
  dlopen(/usr/local/Cellar/php54-mcrypt/5.4.16/mcrypt.so, 9): 
  Library not loaded: /usr/local/lib/libmcrypt.4.4.8.dylib
  Referenced from: /usr/local/Cellar/php54-mcrypt/5.4.16/mcrypt.so
  Reason: image not found in Unknown on line 0
  PHP Warning:  PHP Startup: Unable to load dynamic library 
  '/usr/local/Cellar/php54-mcrypt/5.4.16/mcrypt.so' - 
  dlopen(/usr/local/Cellar/php54-mcrypt/5.4.16/mcrypt.so, 9): 
  Library not loaded: /usr/local/lib/libmcrypt.4.4.8.dylib
  Referenced from: /usr/local/Cellar/php54-mcrypt/5.4.16/mcrypt.so
  Reason: image not found in Unknown on line 0
  </code></pre>
  </blockquote>