久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      php如何設(shè)置腳本最大執(zhí)行時間

      php設(shè)置腳本最大執(zhí)行時間的方法:首先打開php.ini配置文件;然后找到max_execution_time配置;最后設(shè)置該配置的值為120即可。如果腳本需要長時間執(zhí)行,在文件開頭處添加代碼【set_time_limit(0)】即可。

      php如何設(shè)置腳本最大執(zhí)行時間

      PHP設(shè)置腳本最大執(zhí)行時間的三種方法。

      (推薦教程:php圖文教程)

      1、在php.ini里面設(shè)置

      max_execution_time = 120;

      2、通過PHP的ini_set函數(shù)設(shè)置

      ini_set("max_execution_time", "120");

      (視頻教程推薦:php視頻教程)

      3、通過set_time_limit 函數(shù)設(shè)置

      set_time_limit(120);

      以上幾個數(shù)字設(shè)置為0則無限制,腳本會一直執(zhí)行下去,直到執(zhí)行結(jié)束。

      所以,需要長時間執(zhí)行的腳本,一般在php代碼開頭處添加如下代碼就可以了。

      set_time_limit(0);

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號