Title: OS version: ?
Last modified: August 22, 2016

---

# OS version: ?

 *  Resolved [violacase](https://wordpress.org/support/users/violacase/)
 * (@violacase)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/os-version/)
 * In tab ‘System’ the debug report says OS version: Windows 2000
 * I’m confused. The server is on Centos 7.0.
 * Or do you mean the local machine OS? That should be more clear then.
 * Great work BTW!
 * [https://wordpress.org/plugins/debug-objects/](https://wordpress.org/plugins/debug-objects/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/os-version/#post-5346228)
 * I mean the server os, right. But maybe the check is not fine enough for Centos.
   I will check this, create a issue.
    [https://github.com/bueltge/Debug-Objects/issues/45](https://github.com/bueltge/Debug-Objects/issues/45)
 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/os-version/#post-5346419)
 * Can you debug for the value `$_SERVER[ 'HTTP_USER_AGENT' ]`.
    I check currently
   this variable and check then `'=WIN='`, `'=NT=` and so on.
 *  Thread Starter [violacase](https://wordpress.org/support/users/violacase/)
 * (@violacase)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/os-version/#post-5346420)
 * I just updated the plugin.
    $_SERVER[‘HTTP_USER_AGENT’] gives: `Mozilla/5.0 (
   Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99
   Safari/537.36`
 * So the problem is this global: it returns wrong info.
    I don’t mind btw, because
   I KNOW what server I’m using 🙂
 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/os-version/#post-5346421)
 * But your return values is the point, it is a Windows system –> Windows NT 6.3
 *  Thread Starter [violacase](https://wordpress.org/support/users/violacase/)
 * (@violacase)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/os-version/#post-5346422)
 * Not really…
    I’m working on a VPS holding many websites. I know the difference
   between WIN and Linux when I’m working with e.g. the terminal. This is the REAL
   configuration:
 * Hostname keesdehaan.info
    OS CentOS 6.5 (Final) Plesk version 12.0.18 Update #
   32, last updated at Jan 23, 2015 03:31 AM
 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/os-version/#post-5346423)
 * But how is it possible to get this data, the global $_SERVERhave other data?
 *  Thread Starter [violacase](https://wordpress.org/support/users/violacase/)
 * (@violacase)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/os-version/#post-5346424)
 * I found that the global HTTP_USER_AGENT holds the OS info of the client, not 
   the server.
    To get the server OS you can use the global PHP_OS or the function
   php_uname() Getting more detailed info on server OS is rather difficult because
   the version information is vendor specific. For your purpose I think just the
   common strings WIN, Linux, BSD, etc given by PHP_OS is good enough.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘OS version: ?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/debug-objects_d0d0d1.svg)
 * [Debug Objects](https://wordpress.org/plugins/debug-objects/)
 * [Support Threads](https://wordpress.org/support/plugin/debug-objects/)
 * [Active Topics](https://wordpress.org/support/plugin/debug-objects/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/debug-objects/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/debug-objects/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [violacase](https://wordpress.org/support/users/violacase/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/os-version/#post-5346424)
 * Status: resolved