log4php安装&入门

2017-01-09 14:15:59来源:oschina作者:夜深无人人点击



##安装
参考http://logging.apache.org/log4php/install.html
```
[[email protected] ~]# yum install php-pear
[[email protected] ~]# curl -s http://getcomposer.org/installer | php
[[email protected] ~]# vi composer.json
{
"require": {
"apache/log4php": "2.3.0"
}
}
[[email protected] ~]# php composer.phar install
[[email protected] ~]# pear channel-discover pear.apache.org/log4php
[[email protected] ~]# pear install log4php/Apache_log4php
```
##入门
参考http://logging.apache.org/log4php/quickstart.html

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台