[0] RedisException in Redis.php line 53

Connection refused

  1. throw new \BadFunctionCallException('not support: redis');
  2. }
  3. if (!empty($options)) {
  4. $this->options = array_merge($this->options, $options);
  5. }
  6. $this->handler = new \Redis;
  7. if ($this->options['persistent']) {
  8. $this->handler->pconnect($this->options['host'], $this->options['port'], $this->options['timeout'], 'persistent_id_' . $this->options['select']);
  9. } else {
  10. $this->handler->connect($this->options['host'], $this->options['port'], $this->options['timeout']);
  11. }
  12. if ('' != $this->options['password']) {
  13. $this->handler->auth($this->options['password']);
  14. }
  15. if (0 != $this->options['select']) {
  16. $this->handler->select($this->options['select']);
  17. }

Call Stack

  1. in Redis.php line 53
  2. at Redis->connect('127.0.0.1', 6379, 0) in Redis.php line 53
  3. at Redis->__construct(['type' => 'redis', 'host' => '127.0.0.1', 'prefix' => 'educn_org_', ...]) in Cache.php line 65
  4. at Cache::connect(['type' => 'redis', 'host' => '127.0.0.1', 'prefix' => 'educn_org_', ...], 'redis') in Cache.php line 103
  5. at Cache::store('redis') in Index.php line 32
  6. at Index->index()
  7. at call_user_func_array([object(Index), 'index'], []) in Route.php line 78
  8. at Route->execute('cms', 'index', 'index')
  9. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'index', 'index']) in App.php line 343
  10. at App::invokeMethod(['\think\addons\Route', 'execute'], ['id' => '406371', 'addon' => 'cms', 'controller' => 'index', ...]) in App.php line 470
  11. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'cms', 'controller' => 'index', 'action' => 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  12. at App::run() in start.php line 19
  13. at require('/www/wwwroot/www.edu...') in index.php line 23

Environment Variables

GET Data

id
406371
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
www.educn.org
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
www.educn.org
SERVER_PORT
80
SERVER_ADDR
103.179.243.195
REMOTE_PORT
41380
REMOTE_ADDR
3.235.227.36
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.educn.org_fastadmin/public
DOCUMENT_URI
/index.php
REQUEST_URI
/?id=406371
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
id=406371
SCRIPT_FILENAME
/www/wwwroot/www.educn.org_fastadmin/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711668847.302
REQUEST_TIME
1711668847
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.educn.org_fastadmin/public/../application/
THINK_VERSION
5.0.25
THINK_START_TIME
1711668847.3032
THINK_START_MEM
404928
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.educn.org_fastadmin/thinkphp/
LIB_PATH
/www/wwwroot/www.educn.org_fastadmin/thinkphp/library/
CORE_PATH
/www/wwwroot/www.educn.org_fastadmin/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.educn.org_fastadmin/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.educn.org_fastadmin/
EXTEND_PATH
/www/wwwroot/www.educn.org_fastadmin/extend/
VENDOR_PATH
/www/wwwroot/www.educn.org_fastadmin/vendor/
RUNTIME_PATH
/www/wwwroot/www.educn.org_fastadmin/runtime/
LOG_PATH
/www/wwwroot/www.educn.org_fastadmin/runtime/log/
CACHE_PATH
/www/wwwroot/www.educn.org_fastadmin/runtime/cache/
TEMP_PATH
/www/wwwroot/www.educn.org_fastadmin/runtime/temp/
CONF_PATH
/www/wwwroot/www.educn.org_fastadmin/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
HTMLPURIFIER_PREFIX
/www/wwwroot/www.educn.org_fastadmin/vendor/ezyang/htmlpurifier/library
ADDON_PATH
/www/wwwroot/www.educn.org_fastadmin/addons/
QINIU_FUNCTIONS_VERSION
7.2.10