error_log per Virtual Host?

后端 未结 11 1893
独厮守ぢ
独厮守ぢ 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:21

    To set the Apache (not the PHP) log, the easiest way to do this would be to do:

    
       # Stuff,
       # More Stuff,
       ErrorLog /path/where/you/want/the/error.log
    
    

    If there is no leading "/" it is assumed to be relative.

    Apache Error Log Page

提交回复
热议问题