I have a CentOS 7 server, running Apache 2.4. I use phpMyAdmin on it to connect to remote MySQL database instances (on Rackspace). MySQL is not running on the server. The phpMyAdmin config.inc.php has details of the remote Rackspace hostname. When PHP is configured to use the Apache 2.0 Handler, that is fine, ie when my /etc/httpd/conf.d/php.conf contains the following command:
SetHandler application/x-httpd-php
Switching that to php-fpm, ie:
SetHandler "proxy:fcgi://127.0.0.1:9000"
prevents me being able to log-in to phpMyAdmin (401 response).
I am unclear why switching the PHP handler would affect phpMyAdmin in this way. Server logs show nothing of relevance. How can I use php-fpm without breaking phpMyAdmin?