在单个php脚本上运行多个php脚本


running multiple php script on the single php script

我需要提取100+个excess并转换到mysql。每个excel都有不同的格式。所以我创建了100个不同的php文件来导入,每个文件都像下面的一样出色

format1.php
format2.php
format3.php 

等等

现在我需要批量运行每个脚本(不一定是并行的)。就像完成format1.php之后一样,我需要运行format2.php,进程运行到脚本结束。。我试过低于

main.php

include("format1.php");
include("format2.php");
include("format3.php");

在这样做的时候,我遇到了最长执行时间的问题。我没有php.ini的访问权限,所以我无法更改最长执行时间。ini_alterini_set都不工作。

的出路是什么

如果可以使用函数:
set_time_limit(0);