Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 PHP 发现系统上的 RAM 量?
编辑:我使用的是 Windows,echo exec('free -m');下面建议的 Windows 不起作用。
echo exec('free -m');