Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如何在 prod 上激活 php 错误日志?
我已经做了什么:
php.ini > error_log = [path to output file] + error_reporting = E_ALL | E_STRICT restart php.ini settings.php > error_reporting(E_ALL ^ E_NOTICE);
我的 error_log 文件仍然是空的。我真的需要它,因为我无法在 prod 之外重现错误。
转到admin/config/development/logging并选择您的设置
admin/config/development/logging