phpMyAdmin 403 Forbidden Error after upgrade to Yosemite

AH01630: client denied by server configuration: /usr/local/share/phpmyadmin

most likely means, that Yosemite upgrade changed file permissions on /usr/local/share/phpmyadmin or changed default apache access settings for the directory where you keep phpmyadmin.

You need to check 2 things:

  1. that /usr/local/share/phpmyadmin is readable by your user and that directories that needs to be writeable by you are.

  2. that you have correct order for Allow and Deny settings for that directory (you either deny from all and then allow from certain locations, or allow from all locations and then disallow from some)

I don't know how did you installed phpmyadmin, but it might have added some config file for it's directory to /etc/apache2/other or /etc/apache2/extra.


Since upgrade to Yosemite updated your Apache, you have to update phpMyAdmin.conf to use new Access control syntax.

Have a look at: http://httpd.apache.org/docs/2.4/upgrading.html

In my case I need changed /etc/apache2/other/phpMyAdmin.conf

Order allow,deny

Allow from all

to

Require all granted

More info here: http://www.zoubi.me/blog/you-dont-have-permission-access-phpmyadmin-server-after-upgrading-yosemite


I was experiencing a similar problem that to what you described.

To get dnsmasq back up and running, I changed the contents of

/Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist

to

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>Label</key>
    <string>homebrew.mxcl.dnsmasq</string>
    <key>ProgramArguments</key>
    <array>
      <string>/usr/local/opt/dnsmasq/sbin/dnsmasq</string>
      <string>--keep-in-foreground</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <true/>
  </dict>
</plist>

See https://github.com/Homebrew/homebrew/issues/31357 for more details on this and why it works.