#FOR MULTIPLE REDIS INSTANCE INSTALLATION ON RHEL7+ USE THE FOLLOWING PATHS AND SETUP PROCESS:
- create a new redis .conf file
$ cp /etc/redis.conf /etc/redis-xxx.conf- edit /etc/redis-xxx.conf, illustrated as below
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; | |
| use Illuminate\Routing\Router; | |
| class RouteServiceProvider extends ServiceProvider | |
| { |
#FOR MULTIPLE REDIS INSTANCE INSTALLATION ON RHEL7+ USE THE FOLLOWING PATHS AND SETUP PROCESS:
$ cp /etc/redis.conf /etc/redis-xxx.conf$ cp /etc/redis.conf /etc/redis-xxx.conf...| //find stuff | |
| find . -exec grep -H -n 'No active calls' {} \; |
| foreach($data['data'] as $key => $data) | |
| { | |
| if(isset($data)) | |
| { | |
| $var[$key] = array( | |
| 'balance' => $data->balance, | |
| 'date' => date('d/m', strtotime($data->date)) | |
| ); | |
| } | |
| } |