Welcome! Log In Create A New Profile

Advanced

Re: NGINX and php-fpm -> HTML runs, php gives 502

Francis Daly
October 23, 2013 10:40AM
On Wed, Oct 23, 2013 at 10:13:36AM -0400, timofrenzel wrote:

Hi there,

> I call on the index.html , everything works .
> I call on the index.php , I get back only n 502.

When you do

curl -i http://devubuntu.loc/index.php

what response do you get, and what do the nginx log files say happened?

Copy-paste is best.

> fastcgi_pass unix:/var/run/php5-fpm.sock;

Is there a fastcgi server listening on that socket? What does its log
files say happened?

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX and php-fpm -> HTML runs, php gives 502

timofrenzel October 23, 2013 10:13AM

Re: NGINX and php-fpm -> HTML runs, php gives 502

Francis Daly October 23, 2013 10:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 204
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready