https://bugzilla.wikimedia.org/show_bug.cgi?id=14611





--- Comment #24 from Shinjiman <shinji...@gmail.com>  2009-07-06 12:09:26 UTC 
---
(In reply to comment #4)
> On second look, this seams like this is more trouble than it's worth:
> Trying to get the WebServer version:
> The output of $_SERVER['SERVER_SOFTWARE'] is highly useless. For me it simply
> outputs 'nginx', I expect Apache also just outputs 'Apache'.
> There's a slight chance of getting a process name using the pid from
> postix_getpid (Only works on *nix), but if PHP is being run in fcgi then 
> that's
> just going to get the name of PHP.
> Alternatively $_SERVER['SERVER_SOFTWARE'] could be used to understand what
> software is being run. Then we could code a bunch of different version checks.
> Though, those would fail if someone installs their WebServer off path.
> I looked into Operating System as well for the hell of it. But that's pretty
> useless to. PHP_OS is highly useless, no version and on any *nix system it
> outputs 'Linux', which with all the distros is completely useless. posix_uname
> is also useless, the version is a release time, and the 'release' is a useless
> sort of version. And again, it outputs 'Linux' as the OS name.

On r52792 was added the feature to showing the version of the web server, if
applicable.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to