久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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)站

      php7下命令行無法執(zhí)行怎么辦

      php7下命令行無法執(zhí)行的解決方法:1、打開php.ini配置文件;2、關(guān)閉安全模式;3、禁用函數(shù)列表【disable_functions = proc_open,shell_exec】。

      php7下命令行無法執(zhí)行怎么辦

      本文操作環(huán)境:windows10系統(tǒng)、php 7、thinkpad t480電腦。

      php7下無法執(zhí)行cmd命令行的原因是我們沒有關(guān)閉php.ini配置文件中的安全模式,只要將安全模式關(guān)閉就可以了。

      接下來我們一起來看看具體步驟:

      在php.ini文件中配置safe_mode參數(shù)支持命令執(zhí)行的方法:

      首先打開php.ini;

      然后關(guān)掉安全模式safe_mode = off;

      最后禁用函數(shù)列表 disable_functions = proc_open, popen, exec, system, shell_exec ,把exec去掉。

      示例:

      <?php exec("mkdir d:\test",$out); print_r($out); ?>

      執(zhí)行該php文件,會發(fā)現(xiàn)在d盤下多了一個test文件夾。

      推薦學(xué)習(xí):php培訓(xùn)

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