Home >Backend Development >PHP Tutorial >apache - Why does a single PHP request take up much less memory under Linux than under Win?

apache - Why does a single PHP request take up much less memory under Linux than under Win?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-09-19 09:16:321023browse

Usually an application written in the thinkphp framework under apache-win32 takes up about 1-2m of memory per request. When running on apache under Linux, it drops to more than 200k per request. Why is this gap ten times? Does anyone know the difference in the details of the underlying principles?

Reply content:

Usually an application written in the thinkphp framework under apache-win32 takes up about 1-2m of memory per request. When running on apache under Linux, it drops to more than 200k per request. Why is this gap ten times? Does anyone know the difference in the details of the underlying principles?

Every software in Linux takes up much less memory than Windows.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn