error_log per Virtual Host?

后端 未结 11 1922
独厮守ぢ
独厮守ぢ 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条回答
  •  旧时难觅i
    2020-12-02 08:30

    I usually just specify this in an .htaccess file or the vhost.conf on the domain I'm working on. Add this to one of these files:

    php_admin_value error_log "/var/www/vhosts/example.com/error_log"
    

提交回复
热议问题