[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:\/\/blog.webump.fr","uri":"\/feed-instagram","server":{"HTTP_REFERER":"","HTTP_USER_AGENT":"Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; [email protected])","HTTP_ACCEPT_LANGUAGE":"","REMOTE_ADDR":"3.138.105.4"},"request":[]}
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONTENT_LENGTH
427
HTTP_CDN_LOOP
cloudflare; loops=1
HTTP_CONNECTION
Keep-Alive
HTTP_CF_IPCOUNTRY
GB
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_CF_CONNECTING_IP
206.189.112.154
HTTP_ACCEPT
*/*
HTTP_X_FORWARDED_PROTO
https
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_CONTENT_TYPE
multipart/form-data; boundary=------------------------97334f1c6f1746fc
HTTP_HOST
www.wordprass.org
HTTP_X_FORWARDED_FOR
206.189.112.154
HTTP_CF_RAY
8e81808e3c73cc85-MAN
PATH_INFO
/contentdefi
REDIRECT_STATUS
200
SERVER_NAME
www.wordprass.org
SERVER_PORT
80
SERVER_ADDR
194.42.196.66
REMOTE_PORT
13030
REMOTE_ADDR
172.68.205.93
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
427
CONTENT_TYPE
multipart/form-data; boundary=------------------------97334f1c6f1746fc
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
1732536276.2745
REQUEST_TIME
1732536276
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732536276.2748
THINK_START_MEM
406224
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/