title: OSX: PHP Error localhost and unable to load dynamic library
body: <p>How can i fix this php error? </p>
  
  <pre><code>PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20100525/php_pdo_mysql.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20100525/php_pdo_mysql.dll, 9): image not found in Unknown on line 0
  </code></pre>
  
  <p>I am on a mac/mavericks and I have made a mistake and did a <code>sudo cp /private/etc/php.ini.default /private/etc/php.ini</code> so now I get the error stated above when I run <code>php -v</code></p>