Home >Backend Development >PHP Tutorial >apache在不同平台上的效率相差很多吗

apache在不同平台上的效率相差很多吗

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:10:56882browse

apache在不同平台下的效率相差很多吗?
同一套网页代码。分别在Windows和ubuntu下安装php,mysql,apache。然后运行。
发现mysql运行速度没有区别。但是通过ajax和php取值:
在Windows下,平均一次要1秒多。
而在ubuntu下,平均一次只要20毫秒左右。
请问这种情况正常吗?


------解决方案--------------------
正常啊!我也是
------解决方案--------------------
确实不正常,差别不会这么大。你不妨说说你是怎么测试的,以及测试环境
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