久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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怎樣打印錯誤日志

      php打印錯誤日志的方法:1、編輯php-fpm.conf配置文件;2、修改php.ini配置文件;3、重啟php-fpm;4、在腳本中添加【ini_set('display_errors', 0);】。

      php怎樣打印錯誤日志

      具體方法:

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

      1、修改php-fpm.conf配置文件

      catch_workers_output = yes error_log = log/php_error.log

      2、修改php.ini配置文件

      log_errors = on error_log   = /user/local/php/log/error_log

      3、重啟php-fpm

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

      注意:如果php.ini文件找不到,請在頁面輸出phpinfo()可以查到。php錯誤日志不輸出到日志和屏幕上

      4、在配置文件php.ini中修改

      display_errors = off log_error = on error_reprting = E_ALL

      5、在程序中修改

      ini_set('display_errors', 0); ini_set('error_reporting', E_ALL); ini_set('error_log', '日志文件'); ini_set('log_errors', 1);

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