Primary script unknown error in php-fpm httpd rewrite

If you had something like this:
ProxyPassMatch “^/(.*\.php(/.*)?)$” “unix:/var/run/php-fpm/php.sock|fcgi://localhost/some/path” enablereuse=on

Advice is to change to SetHandler:

<Directory "/some/path">
<FilesMatch \.php$>
ProxyErrorOverride on
SetHandler "proxy:unix:/path/to/sock/php.sock|fcgi://localhost"

Views All Time
Views All Time
Views Today
Views Today

Leave a Reply

Your email address will not be published. Required fields are marked *