title: 500 internal error installing phpMyAdmin on Mac OS
body: <p>I installed <strong>phpMyAdmin</strong> on my Mac and I am getting the following error</p>
  
  <pre><code>Internal Server Error
  
  The server encountered an internal error or misconfiguration and was unable to complete your request.
  
  Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
  
  More information about this error may be available in the server error log.
  </code></pre>
  
  <p>MySQL works already, I've already installed php applications on my system. These are the steps I took</p>
  
  <p>I downloaded  <code>phpMyAdmin-4.1.6-english.zip</code> unzipped it and moved it to  <code>/usr/local/phpmyadmin416english</code> changed <code>config.sample.inc.php</code> to <code>config.inc.php</code> . inside of <code>config.inc.php</code> I changed <code>$cfg['Servers'][$i]['host']</code> value to <code>127.0.0.1</code>. </p>
  
  <pre><code>$cfg['Servers'][$i]['auth_type'] = 'cookie';
  /* Server parameters */
  $cfg['Servers'][$i]['host'] = '127.0.0.1';
  $cfg['Servers'][$i]['connect_type'] = 'tcp';
  $cfg['Servers'][$i]['compress'] = false;
  /* Select mysql if your server does not have mysqli */
  $cfg['Servers'][$i]['extension'] = 'mysqli';
  $cfg['Servers'][$i]['AllowNoPassword'] = false;
  </code></pre>
  
  <p>In my <code>hosts</code> file I created <code>phpmyadmin.local</code> to point to <code>127.0.0.1</code></p>
  
  <p>In my apache <code>vhost</code> file I added the following:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          ServerName "phpmyadmin.local"
          ServerAlias "phpmyadmin.local"
          DocumentRoot "/Library/WebServer/Documents/phpmyadmin"
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>I did a HELLO WORLD in the index.php file at the root of <code>/Library/WebServer/Documents/phpmyadmin</code> which worked.</p>
  
  <p>I then create a .htaccess file like this..</p>
  
  <pre><code>&lt;Directory /usr/local/phpmyadmin416english&gt;
      Options Indexes
      Order allow,deny
      Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>All this is based off of this tutorial <a href="http://www.djangoapp.com/blog/2011/07/24/installing-phpmyadmin-on-mac-os-x-lion/" rel="nofollow">http://www.djangoapp.com/blog/2011/07/24/installing-phpmyadmin-on-mac-os-x-lion/</a></p>
  
  <p>This is what I am getting in the error logs</p>
  
  <pre><code>[Thu Jan 30 19:13:07 2014] [alert] [client 127.0.0.1] /Library/WebServer/Documents/phpmyadmin/.htaccess: &lt;Directory not allowed here
  </code></pre>