> After a lot of trial and error it seems that the addition of 2>&1 to > both lines in the /etc/logrotate.d/lighttpd solves this problem: That'd be a work around, not a solution. Maybe Lighttpd closes stdout but not stderr and stderr gets inherited by the PHP process?