htaccess 为路径设置 max_execution_time

htaccess set max_execution_time for a path

我想在我的 .htaccess 中设置 php_value max_execution_time 0 仅用于以确定文本结尾的路径,例如 \files\upload

我正在使用 slim php 框架

.htaccess 文件

<IfModule mod_php5.c> php_value max_execution_time 0 </IfModule> 您应该将 htaccess 文件放在该文件夹中