Can not set error_log option in PHP with ini_set

前端 未结 1 733
感情败类
感情败类 2021-01-25 01:06

I\'m running PHP 7 on Ubuntu Xenial, and bumped into a weird situation with WordPress. I was attempting to enable WP_DEBUG_LOG and it wasn\'t writing out to the de

相关标签:
1条回答
  • 2021-01-25 01:41

    ini_set() works globally, but not all settings do

    ini_set() works on global settings in php.ini. Some servers are set up to have values set under a HOST or a PATH setting. ini_set() can not change these particular values.

    0 讨论(0)
提交回复
热议问题