摘要: /usr/local/apache/bin/rotatelogs 这个执行程序会根据安装方式不同的位置也不同,yum安装的话,路径为:/usr/sbin/rotatelogs改为:ErrorLog "|/usr/sbin/rotatelogs /home/logs/www/%Y_%m_%d_error_log 86400 480"CustomLog "|/usr/sbin/rotatelogs /home/logs/www/%Y_%m_%d_access_log 86400 480" common这样才可以的。centos下 Apache、php、mys 阅读全文
posted @ 2013-03-25 17:41 awinlei 阅读(3990) 评论(0) 推荐(1) 编辑