Fastcgi and wordpress

so im trying to get fastcgi to work with a wordpress site but the only error im receiving is fcgi: invalid header version and i havent found any reference as to what causes this error.

phpfpm logs show nothing

EDITl:

so im messing around changing stuff and now im getting this File not found.
13/Sep/2016:19:28:35 -0400 [ERROR 0 /] Primary script unknown

my caddyfile

test.site.com {
        root /root/site_test/
        log access.log
        errors visible
        gzip
        fastcgi / /var/run/php5-fpm.sock php
        rewrite {
            if {path} not_match ^\/wp-admin
            to {path} {path}/ /index.php?_url={uri}
        }
}

Are Caddy and PHP running as the same user?
PHP user should have access to the files…

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.