title: Installing phpmyadmin with home-brew
body: <p>I have tried to install and configure phpmyadmin using home-brew. To install I used the commands <code>brew install phpmyadmin</code> and this is the summary of the message printed in the terminal.</p>
  
  <pre><code>==&gt; Summary
    /usr/local/Cellar/php71/7.1.0-beta.1: 342 files, 50.3M, built in 7 minutes 29 seconds
  ==&gt; Installing homebrew/php/phpmyadmin
  ==&gt; Downloading https://github.com/phpmyadmin/phpmyadmin/archive/RELEASE_4_6_2.t
  ==&gt; Downloading from https://codeload.github.com/phpmyadmin/phpmyadmin/tar.gz/RE
  ######################################################################## 100.0%
  ==&gt; Caveats
  Note that this formula will NOT install mysql. It is not
  required since you might want to get connected to a remote
  database server.
  
  Webserver configuration example (add this at the end of
  your /etc/apache2/httpd.conf for instance) :
    Alias /phpmyadmin /usr/local/share/phpmyadmin
    &lt;Directory /usr/local/share/phpmyadmin/&gt;
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      &lt;IfModule mod_authz_core.c&gt;
        Require all granted
      &lt;/IfModule&gt;
      &lt;IfModule !mod_authz_core.c&gt;
        Order allow,deny
        Allow from all
      &lt;/IfModule&gt;
    &lt;/Directory&gt;
  Then, open http://localhost/phpmyadmin
  
  More documentation : file:///usr/local/Cellar/phpmyadmin/4.6.2/share/phpmyadmin/doc/
  
  Configuration has been copied to /usr/local/etc/phpmyadmin.config.inc.php
  Don't forget to:
    - change your secret blowfish
    - uncomment the configuration lines (pma, pmapass ...)
  
  ==&gt; Summary
    /usr/local/Cellar/phpmyadmin/4.6.2: 2,256 files, 63.2M, built in 39 seconds
  </code></pre>
  
  <p>I followed the instruction at the terminal output, despite this when I type into the url <a href="http://localhost/phpmyadmin" rel="noreferrer">http://localhost/phpmyadmin</a> into safari I still end up with the error message, <code>Safari can't open the page "localhost/phpmyadmin" because Safari can't connect to the server "localhost"</code>. I think it's possible that I have set the cookie configuration correctly in the phpmyadmin.config.in.php file but not sure how I can correct this. </p>