Get server operating system in PHP [duplicate]

2

How can I get the server operating system in PHP? I would like to return something similar like this:

Windows 7 Service Pack 1 x64
    
asked by anonymous 14.11.2017 / 13:13

1 answer

3

Take a look at the function and make sure it's what you need.

php_uname('s')
php_uname('m')
php_uname('v')

Php-uname

    
14.11.2017 / 13:24