This module for apache 2.4 allows you to use e.g. mod_proxy_fcgi in AddHandler or SetHandler directives.
apxs -i -a -c mod_proxy_handler.c
Send php files to php-fpm running on a TCP socket:
# set handler for php
LoadModule proxy_handler_module modules/mod_proxy_handler.so
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9000/"
</FilesMatch>
# configuration for phpmyadmin package in archlinux
Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
<Directory "/usr/share/webapps/phpMyAdmin">
DirectoryIndex index.html index.php
AllowOverride All
Options FollowSymlinks
Require all granted
</Directory>
Hey folks, if you want to use UDS then make it as follows:
Send php files to php-fpm running on a UDS socket:
tested on SVN 2.4.10 candidate