H
H
HitGirl2020-09-01 10:58:48
PHP
HitGirl, 2020-09-01 10:58:48

How to fix Cannot accept external Xdebug connection $_SERVER["SERVER_NAME"] is empty error?

Hello!
I'm using PHPStorm + Open Server but XDebug doesn't work for me.
Error:
Cannot accept external Xdebug connection
$_SERVER["SERVER_NAME"] is empty, it may be caused by web server misconfiguration.
Nginx: add fastcgi parameter to nginx configuration, more
Apache: configure ServerName for current VirtualHost, more
Can you please tell me what could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sl0, 2020-09-01
@HitGirl

Nginx is not configured.
https://www.jetbrains.com/help/phpstorm/troublesho...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question