$this->handler = new \Redis;
if ($this->options['persistent']) {
$this->handler->pconnect($this->options['host'], (int) $this->options['port'], (int) $this->options['timeout'], 'persistent_id_' . $this->options['select']);
} else {
$this->handler->connect($this->options['host'], (int) $this->options['port'], (int) $this->options['timeout']);
}
if ('' != $this->options['password']) {
$this->handler->auth($this->options['password']);
}
} elseif (class_exists('\Predis\Client')) {
$params = [];
foreach ($this->options as $key => $val) {
if (in_array($key, ['aggregate', 'cluster', 'connections', 'exceptions', 'prefix', 'profile', 'replication', 'parameters'])) {
$params[$key] = $val;
unset($this->options[$key]);
}
}
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.o-leading.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | 5.vip.yilumao.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.96.142.31 |
REMOTE_PORT | 51410 |
REMOTE_ADDR | 44.201.94.1 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/b2b/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /de/products/Golden-Fingers-PCB-manufacturer-china-Aluminum-PCB-manufacturer-china.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/de/products/Golden-Fingers-PCB-manufacturer-china-Aluminum-PCB-manufacturer-china.html |
SCRIPT_FILENAME | /www/wwwroot/b2b/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711725548.2468 |
REQUEST_TIME | 1711725548 |