[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_content6'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  9. at App::exec(['type' => 'module', 'module' => [null, 'index', 'get_content6'], '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":"http:\/\/wikio.it","uri":"\/vote?url=http%3A%2F%2Fmsntribre.blogspot.com%2F2008%2F01%2Fskin-looney-tunes-per-wlm-85.html","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.144.235.141"},"request":{"url":"http:\/\/msntribre.blogspot.com\/2008\/01\/skin-looney-tunes-per-wlm-85.html"}}
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONTENT_LENGTH
584
HTTP_CDN_LOOP
cloudflare; loops=1
HTTP_CONNECTION
Keep-Alive
HTTP_CF_IPCOUNTRY
IT
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_CF_CONNECTING_IP
185.201.65.73
HTTP_ACCEPT
*/*
HTTP_X_FORWARDED_PROTO
https
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_CONTENT_TYPE
multipart/form-data; boundary=------------------------3a052c25f3f98f09
HTTP_HOST
www.wordprass.org
HTTP_X_FORWARDED_FOR
185.201.65.73
HTTP_CF_RAY
8e95fe451a734bde-MXP
PATH_INFO
/content6
REDIRECT_STATUS
200
SERVER_NAME
www.wordprass.org
SERVER_PORT
80
SERVER_ADDR
194.42.196.66
REMOTE_PORT
26982
REMOTE_ADDR
188.114.102.121
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
/content6
SCRIPT_NAME
/index.php
CONTENT_LENGTH
584
CONTENT_TYPE
multipart/form-data; boundary=------------------------3a052c25f3f98f09
REQUEST_METHOD
POST
QUERY_STRING
s=/content6
SCRIPT_FILENAME
/www/wwwroot/www/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732751140.7434
REQUEST_TIME
1732751140
Environment Variables
empty

ThinkPHP Constants

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