Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将今天的日期与 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>
php_value error_log "|/usr/local/apache/bin/rotatelogs /home/test/public_html/logs/failures_%Y-%m-%d.log 8600"