error_log per Virtual Host?

后端 未结 11 1894
独厮守ぢ
独厮守ぢ 2020-12-02 07:58

On one Linux Server running Apache and PHP 5, we have multiple Virtual Hosts with separate log files. We cannot seem to separate the php error_log between virtu

11条回答
  •  春和景丽
    2020-12-02 08:12

    php_value error_log "/var/log/httpd/vhost_php_error_log"
    

    It works for me, but I have to change the permission of the log file.

    or Apache will write the log to the its error_log.

提交回复
热议问题