php - Laravel Homestead gives 502 Bad Getaway error instead of laravel error page -


i've noticed interesting behavior on laravel homestead.

the specifications:

laravel 4.2

nginx/1.8.0

php 5.6.9-1+deb.sury.org~utopic+2 (fpm-fcgi) (built: may 24 2015 16:16:14) copyright (c) 1997-2015 php group zend engine v2.6.0, copyright (c) 1998-2015 zend technologies zend opcache v7.0.4-dev, copyright (c) 1999-2015, zend technologies xdebug v2.3.2, copyright (c) 2002-2015, derick rethans blackfire v0.23.3, https://blackfire.io/, sensiolabs

on model.blade.php page 502 bad getaway error undefined variable:

var_dump($publicationsss); 

works fine defined variable:

var_dump($publications); 

i want see laravel error page instead of nginx error message. should ?

error log message:

2015/05/30 21:27:23 [error] 20048#0: *307 recv() failed (104: connection reset peer) while reading response header upstream, client: 192.168.10.1, server: api.weakapi.dev, request: "get /panel/banner/edit/link/16 http/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "api.weakapi.dev"


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -