[0] RedisException in Redis.php line 55

Connection refused

  1. {
  2. // 检测php环境
  3. if (!extension_loaded('redis')) {
  4. throw new Exception('not support:redis');
  5. }
  6. $this->handler = new \Redis;
  7. // 建立连接
  8. $func = $this->config['persistent'] ? 'pconnect' : 'connect';
  9. $this->handler->$func($this->config['host'], $this->config['port'], $this->config['timeout']);
  10. if ('' != $this->config['password']) {
  11. $this->handler->auth($this->config['password']);
  12. }
  13. if (0 != $this->config['select']) {
  14. $this->handler->select($this->config['select']);
  15. }

Call Stack

  1. in Redis.php line 55
  2. at Redis->pconnect('127.0.0.1', 6379, 0) in Redis.php line 55
  3. at Redis->open('', 'PHPSESSID')
  4. at session_start() in Session.php line 106
  5. at Session::init() in Session.php line 120
  6. at Session::boot() in Session.php line 138
  7. at Session::set('url2', 'http://cjyz.smecq.cn...', 'url') in common.php line 239
  8. at go_url_save2() in Base.php line 82
  9. at Base->_initialize() in Controller.php line 59
  10. at Controller->__construct(object(Request))
  11. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 359
  12. at App::invokeClass('app\home\controller\...') in Loader.php line 479
  13. at Loader::controller('index', 'controller', false, 'Error') in App.php line 582
  14. at App::module(['home', 'index', 'articles_info'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  15. at App::exec(['type' => 'module', 'module' => ['home', 'index', 'articles_info']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  16. at App::run() in start.php line 19
  17. at require('/home/wwwroot/yuqiyu...') in ewf2ifmsx.php line 21

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
cjyz.smecq.cn
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/home/index/articles_info/id/1396.html
REDIRECT_STATUS
200
SERVER_NAME
*.smecq.cn
SERVER_PORT
80
SERVER_ADDR
172.30.0.10
REMOTE_PORT
12965
REMOTE_ADDR
3.144.113.30
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/yuqiyun
DOCUMENT_URI
/ewf2ifmsx.php
REQUEST_URI
/home/index/articles_info/id/1396.html
SCRIPT_NAME
/ewf2ifmsx.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/home/index/articles_info/id/1396.html
SCRIPT_FILENAME
/www/wwwroot/yuqiyun/ewf2ifmsx.php
FCGI_ROLE
RESPONDER
PHP_SELF
/ewf2ifmsx.php
REQUEST_TIME_FLOAT
1713457578.1474
REQUEST_TIME
1713457578
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/yuqiyun/application/
EXTEND_PATH
./extend/
THINK_VERSION
5.0.20
THINK_START_TIME
1713457578.1479
THINK_START_MEM
408408
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/yuqiyun/thinkphp/
LIB_PATH
/home/wwwroot/yuqiyun/thinkphp/library/
CORE_PATH
/home/wwwroot/yuqiyun/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/yuqiyun/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/yuqiyun/
VENDOR_PATH
/home/wwwroot/yuqiyun/vendor/
RUNTIME_PATH
/home/wwwroot/yuqiyun/runtime/
LOG_PATH
/home/wwwroot/yuqiyun/runtime/log/
CACHE_PATH
/home/wwwroot/yuqiyun/runtime/cache/
TEMP_PATH
/home/wwwroot/yuqiyun/runtime/temp/
CONF_PATH
/home/wwwroot/yuqiyun/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258