Home > Backend Development > PHP Tutorial > 如何设置本地php虚拟环境,让php运行得更快

如何设置本地php虚拟环境,让php运行得更快

WBOY
Release: 2016-06-13 10:13:18
Original
1124 people have browsed it

怎么设置本地php虚拟环境,让php运行得更快?
怎么设置本地php虚拟环境,让php运行得更快?
我有个php文件,运行需要十几秒,要等很久。请问怎样设置php虚拟环境参数,让php运行更快一点,在哪里设置?
我用的是phpnow

------解决方案--------------------
这个问题原因有很多
你可以尝试增加内存分配,如果有条件的话建议换成Lamp或者是Lnmp
其次可以考虑使用Zend Optimizer。Memcached也可以考虑下,不过就本地来说意义不是很大
再然后。。。可以考虑换个CPU和内存

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template