PHP7 MSSQL SqlServer Nginx Laravel Forge - 糟糕的网关

时间:2017-06-12 14:02:58

标签: sql-server laravel ubuntu nginx

我一直试图让我的Laravel Forge Ubuntu服务器连接到远程MSSQL服务器。我终于将服务器设置到可以到达远程数据库的位置并通过终端进行查询。但是,当我尝试在Laravel中使用连接时,我得到了一个" 502 Bad Gateway"。我现在已经做了很多搜索,而且我仍然没有更好的调试方法。

任何帮助将不胜感激!为了安全起见,我已经编辑了我的nginx和php-fpm日志。

无功/日志/ nginx的/ XXX.co-error.log中

2017/06/12 13:51:40 [error] 5682#5682: *84 recv() failed (104:
Connection reset by peer) while reading response header from upstream,
client: 000.000.000.000, server: XXX.co, request: "GET
/tools/labels/refreshsalesorderitems HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "XXX.co",
referrer: "http://XXX.co/tools/labels"

无功/日志/ php7.1-fpm.log

[12-Jun-2017 13:51:40] WARNING: [pool www] child 8538 exited on signal 11 (SIGSEGV) after 3135.874644
seconds from start
[12-Jun-2017 13:51:40] NOTICE: [pool www] child 9087 started

核心转储回溯

/etc/php/7.1/fpm: Success.
[New LWP 22567]
Core was generated by `php-fpm: pool www                                                            '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fdb7d6bfbe9 in ?? ()
(gdb) backtrace
#0  0x00007fdb7d6bfbe9 in ?? ()
#1  0x372e350a0000005b in ?? ()
#2  0x3921ba89f34d7f00 in ?? ()
#3  0x0004000400000006 in ?? ()
#4  0x000055d8b19043a0 in ?? ()
#5  0x000055d8b1904810 in ?? ()
#6  0x0000000000000000 in ?? ()
(gdb)

0 个答案:

没有答案