Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question