get server ram with php

后端 未结 9 1644
抹茶落季
抹茶落季 2020-12-05 00:19

Is there a way to know the avaliable ram in a server (linux distro) with php (widthout using linux commands)?

edit: sorry, the objective is to be aware of the ram av

9条回答
  •  猫巷女王i
    2020-12-05 00:55

    It is worth noting that in Windows this information (and much more) can be acquired by executing and parsing the output of the shell command: systeminfo

提交回复
热议问题