Home  >  Article  >  Backend Development  >  linux - PHP如何最大化利用服务器资源

linux - PHP如何最大化利用服务器资源

WBOY
WBOYOriginal
2016-06-06 20:23:271167browse

RT,主要用于夜间的定时任务。

只限于代码层面,不包括修改PHP配置、服务器配置情况。

回复内容:

RT,主要用于夜间的定时任务。

只限于代码层面,不包括修改PHP配置、服务器配置情况。

<code>set_time_limit(0);
ini_set ('memory_limit', '20480M');
</code>
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