View Issue Details

IDProjectCategoryView StatusLast Update
0001582XdebugUncategorizedpublic2018-12-01 11:15
Reporterzhoujinshi Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformPCOSwindowsOS Versionwin10
Product Version2.6.1 
Summary0001582: nginx error.log show
Description

2018/10/20 16:57:55 [error] 12064#5964: 1 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "GET /xapp/app/getMicSrv?appCode=ucenter HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/admin.html"
2018/10/20 16:57:55 [error] 12064#5964:
1 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "GET /xapp/app/getMicSrv?appCode=ucenter HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/admin.html"
2018/10/20 16:57:55 [error] 12064#5964: 1 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "GET /xapp/app/getMicSrv?appCode=ucenter HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/admin.html"
2018/10/20 16:57:56 [error] 12064#5964:
1 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/rights/getMenu HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/admin.html"
2018/10/20 16:57:56 [error] 12064#5964: 1 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/rights/getMenu HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/admin.html"
2018/10/20 16:57:56 [error] 12064#5964:
1 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/rights/getMenu HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/admin.html"
2018/10/20 16:57:56 [error] 12064#5964: 5 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "GET /50/50 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/admin.html"
2018/10/20 16:57:56 [error] 12064#5964:
5 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "GET /50/50 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/admin.html"
2018/10/20 16:57:56 [error] 12064#5964: 5 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "GET /50/50 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/admin.html"
2018/10/20 16:57:56 [error] 12064#5964:
2 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/userA9/getDeptList?limit=max&IsSales=1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/total/main.html"
2018/10/20 16:57:56 [error] 12064#5964: 2 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/userA9/getDeptList?limit=max&IsSales=1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/total/main.html"
2018/10/20 16:57:56 [error] 12064#5964:
2 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/userA9/getDeptList?limit=max&IsSales=1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/total/main.html"
2018/10/20 16:57:57 [error] 12064#5964: 2 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/total/getDeptGaikuang HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/total/main.html"
2018/10/20 16:57:57 [error] 12064#5964:
2 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/total/getDeptGaikuang HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/total/main.html"
2018/10/20 16:57:57 [error] 12064#5964: 2 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/total/getDeptGaikuang HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/total/main.html"
2018/10/20 16:58:00 [error] 12064#5964:
2 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/userA9/getClientList HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/user/manClient.html"
2018/10/20 16:58:00 [error] 12064#5964: 2 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/userA9/getClientList HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/user/manClient.html"
2018/10/20 16:58:00 [error] 12064#5964:
2 FastCGI sent in stderr: "Xdebug could not open the remote debug file 'logs/xdebug.log'" while reading response header from upstream, client: 192.168.0.254, server: oa.cntrunk.com, request: "POST /x5/userA9/getClientList HTTP/1.1", upstream: "fastcgi://127.0.0.1:9500", host: "oa.cntrunk.com", referrer: "http://oa.cntrunk.com/ui/x5/user/manClient.html"

Steps To Reproduce

code path E:/qh/code

php.ini
[xdebug]
zend_extension = xdebug
xdebug.remote_enable = On
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000
xdebug.remote_connect_back = Off
xdebug.profiler_enable = On
xdebug.profiler_output_dir = logs
xdebug.profiler_output_name = cachegrind.log
xdebug.idekey = PHPSTORM
xdebug.remote_log = logs/xdebug.log

nginx.conf
server {
listen 80;
server_name oa.cntrunk.com;

access_log logs/oa.cntrunk.com.access.log main;

    location / {
        if (!-e $request_filename) {
            rewrite ^(.*)$ /index.php?$1 last;
            break;
        }
        ssi on;
        ssi_silent_errors on;
        root   E:/qh/code;
        index  index.html index.htm index.php;
    }
    location ~ \.php$ {
        root           html;
        fastcgi_pass   127.0.0.1:9500;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME E:/qh/code$fastcgi_script_name;
        include        fastcgi_params;
    }
}
TagsNo tags attached.
Operating System
PHP Version7.2.5-7.2.9

Activities

derick

2018-12-01 11:15

administrator   ~0004732

You should make sure that xdebug.remote_log and xdebug.profiler_output_dir are configured with an absolute path (e.g.: xdebug.remote_log=/var/log/xdebug.log and xdebug.profiler_output_dir=/tmp/xdebug-profiles), and make sure the web server can write to these locations.

As this is just a configuration issue, I'm closing this ticket.

Issue History

Date Modified Username Field Change
2018-10-20 09:04 zhoujinshi New Issue
2018-12-01 11:15 derick Note Added: 0004732
2018-12-01 11:15 derick Status new => resolved
2018-12-01 11:15 derick Resolution open => no change required
2018-12-01 11:15 derick Assigned To => derick
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized