seaslog安装
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了seaslog安装相关的知识,希望对你有一定的参考价值。
$ /opt/php/bin/phpize
$ ./configure --with-php-config=/opt/php/bin/php-config
$ make && make install
$ Vvim /opt/php/lib/php.ini
-----add begain---------
[seaslog]
extension= seaslog.so
easlog.default_basepath = /var/log/
seaslog.default_logger = default
seaslog.disting_type = 1
seaslog.disting_by_hour = 1
seaslog.use_buffer = 1
seaslog.buffer_size = 100
seaslog.level = 0
seaslog.trace_error = 1
seaslog.trace_exception = 0
seaslog.default_datetime_format = "%Y:%m:%d %H:%M:%S"
$ systemctl restart php-fpm
以上是关于seaslog安装的主要内容,如果未能解决你的问题,请参考以下文章