How do I log errors and warnings into a file?

前端 未结 7 1488
感动是毒
感动是毒 2020-11-22 04:43

How do I turn on all error and warnings and log them to a file, but to set up all of that within the script (not changing anything in php.ini)?

I want to define a fi

7条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-22 05:04

    In addition, you need the "AllowOverride Options" directive for this to work. (Apache 2.2.15)

提交回复
热议问题