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 文件。我想问增加memory_limitor max_execution_time,我应该将 ini_set 放在每个涉及的 php 文件的顶部,还是第一个加载的 php 文件就足够了?
memory_limit
max_execution_time
谢谢!
通常你只需要在加载的第一个文件中指定这个,通常是你的前端控制器。