Config.php 639 Bytes
<?php

class Config{
    
    const rabbitmq_host = '54.222.219.223';
    //const rabbitmq_host = '127.0.0.1';
    const rabbitmq_port = 5672;
    const rabbitmq_user = 'guest';
    const rabbitmq_pass = 'guest';
    const rabbitmq_vhost = '/';
    
    const influxdb_host = '54.222.219.223';
    //const influxdb_host = '127.0.0.1';
    const influxdb_port = 8086;
    
    const udp_port = 9502;
    const tcp_port = 9501;
    const http_port = 9500;
    const http_mq_port = 9503;
    
    const worker_num = 8;
    const daemonize = false;
    
    //const log_file = false;
    const log_file = '/Data/code/yoho-phplog/access.log';
}