[arch-general] [arch-dev-public] PHP 7

Genes Lists lists at sapience.com
Thu Dec 31 21:15:04 UTC 2015


I'm having trouble with nginx after this update. This is just getting 
the top level page which is simple php.


Any suggestions to get nginx working again - or an update to nginx?

php 7.0.1-2
php-fpm 7.0.1-2
nginx - 1.8.0-2

2015/12/31 16:05:01 [crit] 476#0: *5 connect() to 
unix:/run/php-fpm/php-fpm.sock failed (13: Permission denied) while 
connecting to upstream, client: xxx, server: www.sapience.com, request: 
"GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", 
host: "www.sapience.com"

# ls -l /run/php-fpm/php-fpm.sock
srw-rw---- 1 root root 0 Dec 31 16:02 /run/php-fpm/php-fpm.sock

nginx.conf has not changed since it was installed.

...

location ~ \.php$ {
             fastcgi_pass   unix:/run/php-fpm/php-fpm.sock;
             fastcgi_index  index.php;
             fastcgi_param  SCRIPT_FILENAME /scripts$fastcgi_script_name;
             include       fastcgi.conf;
         }


More information about the arch-general mailing list