あなたの質問は明らかに不明ですが、Webサイトが稼動しているシステムのOSを表示したいと思っていますか?あなたが試すことができます:
<?php
echo (string)(PHP_OS);
?>
または
<?php
echo $_SERVER['SERVER_SOFTWARE'];
?>
But this will never return a precise version of your OS as it will only indicating the platfまたはm(windows, linux, macos, etc) and the latter script also displays 32/64 bit under windows.