php执行超时时间设置-PHP问题

资源魔 38 0

php执行超不时间设置

一、正在php.ini文件中找到“max_execution_time”设置装备摆设项,修正对应的值便可;

关上php.ini文件,找到:

max_execution_time=30

修正为:

max_execution_time=600

二、经过php内置函数“ini_set”来修正“max_execution_time”设置装备摆设项便可;

<?php
ini_set('max_execution_time', 600);//秒为单元,本人依据需求界说


以上就是php执行超不时间设置的具体内容,更多请存眷资源魔其它相干文章!

标签: php php教程 php故障解决 php使用问题 超时

抱歉,评论功能暂时关闭!