我想将今天的日期与php错误日志文件结合起来
<IfModule mod_php5.c>
php_flag log_errors on
php_value error_log logs/php_errors_%{TIME_YEAR}-%{TIME_MON}-%{TIME_DAY}.log
</IfModule>
答案 0 :(得分:0)
php_value error_log "|/usr/local/apache/bin/rotatelogs /home/test/public_html/logs/failures_%Y-%m-%d.log 8600"