Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Implementing PHP-FPM:

$
0
0
Hi my fellow Nginx'ers,

I'm building a small webserver using a raspberrypi and archlinux,
so far it runs perfectly but, i'm having a few problems while implementing php-fpm,
please take a look.

This is the full Nginx notification:
[root@xxxxxxx.com html]# 1970/01/01 01:43:17 [error] 2130#0: *29 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: xx.xx.xx.xxx, server: localhost, request: "GET /test/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxxxxxx.com"

This is the browser output for .php files:
File not found

I've zipped: nginx.conf (/etc/nginx/nginx.conf), fastcgi.conf (/etc/nginx/fastcgi.conf) and php-fpm.conf (/etc/php/php-fpm.conf), you can find the compressed folder in the attachments bar.

Many thanks,
HiM

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>