[proxy_fcgi:error] AH01071: Got error 'Primary script unknown\n'
The only way to stop it was to use this instead:
<FilesMatch \.php$>
SetHandler "proxy:unix:/var/run/php5-fpm.sock|fcgi://localhost/"
</FilesMatch>
The only problem now is that the .php files in /phpmyadmin aren't being proxied to PHP-FPM anymore and instead of a login box I get raw php code.
I would like to continue using phpmyadmin but can't seem to get it working again.