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