[0] BadFunctionCallException in Redis.php line 44

不支持: redis

  1. /**
  2. * 构造函数
  3. * @param array $options 缓存参数
  4. * @access public
  5. */
  6. public function __construct($options = [])
  7. {
  8. if (!extension_loaded('redis')) {
  9. throw new \BadFunctionCallException('not support: redis');
  10. }
  11. if (!empty($options)) {
  12. $this->options = array_merge($this->options, $options);
  13. }
  14. $this->handler = new \Redis;
  15. if ($this->options['persistent']) {
  16. $this->handler->pconnect($this->options['host'], $this->options['port'], $this->options['timeout'], 'persistent_id_' . $this->options['select']);
  17. } else {
  18. $this->handler->connect($this->options['host'], $this->options['port'], $this->options['timeout']);

Call Stack

  1. in Redis.php line 44
  2. at Redis->__construct() in Base.php line 96
  3. at Base->checkDomain() in Base.php line 31
  4. at Base->__construct()
  5. at ReflectionClass->newInstanceArgs([]) in App.php line 359
  6. at App::invokeClass('app\index\controller...') in Loader.php line 479
  7. at Loader::controller('index', 'controller', false, 'Error') in App.php line 580
  8. at App::module([null, 'index', 'get_contentdefi'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  9. at App::exec(['type' => 'module', 'module' => [null, 'index', 'get_contentdefi'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('/www/wwwroot/www/thi...') in index.php line 23

Environment Variables

GET Data
empty

POST Data

payload
{"domain":"https:\/\/www.zurichmeetscopenhagen.org","uri":"\/","server":{"HTTP_REFERER":"https:\/\/zurichmeetscopenhagen.org\/","HTTP_USER_AGENT":"Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; [email protected])","HTTP_ACCEPT_LANGUAGE":"","REMOTE_ADDR":"3.144.100.252"},"request":[]}
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CF_IPCOUNTRY
CH
HTTP_CDN_LOOP
cloudflare; loops=1
HTTP_CF_CONNECTING_IP
2a00:1128:0:128::5
HTTP_CONTENT_TYPE
multipart/form-data; boundary=------------------------6bb3f066c14e088a
HTTP_ACCEPT
*/*
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_X_FORWARDED_PROTO
https
HTTP_CONTENT_LENGTH
467
HTTP_CF_RAY
8e5e24bfeb678102-ORD
HTTP_X_FORWARDED_FOR
2a00:1128:0:128::5
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.wordprass.org
PATH_INFO
/contentdefi
REDIRECT_STATUS
200
SERVER_NAME
www.wordprass.org
SERVER_PORT
80
SERVER_ADDR
194.42.196.66
REMOTE_PORT
21856
REMOTE_ADDR
172.70.131.109
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www/public
DOCUMENT_URI
/index.php
REQUEST_URI
/contentdefi
SCRIPT_NAME
/index.php
CONTENT_LENGTH
467
CONTENT_TYPE
multipart/form-data; boundary=------------------------6bb3f066c14e088a
REQUEST_METHOD
POST
QUERY_STRING
s=/contentdefi
SCRIPT_FILENAME
/www/wwwroot/www/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732165514.3095
REQUEST_TIME
1732165514
Environment Variables
empty

ThinkPHP Constants

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