I am trying to determine if someone is running Nginx, Apache, Lighttpd or another webserver in PHP.
I tried this with the predefined $_SERVER variable, but I am not sure if and how this will work since I have only been able to test this on Apache 2.4. Does anyone have an idea on how I can determine what webserver someone is using?