[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_content66'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  9. at App::exec(['type' => 'module', 'module' => [null, 'index', 'get_content66'], '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.ligorsolution.com","uri":"\/product\/2-61558.html","server":{"HTTP_REFERER":"","HTTP_USER_AGENT":"CCBot\/2.0 (https:\/\/commoncrawl.org\/faq\/)","HTTP_ACCEPT_LANGUAGE":"en-US,en;q=0.5","REMOTE_ADDR":"18.97.14.83"},"request":[]}
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CF_IPCOUNTRY
TH
HTTP_CDN_LOOP
cloudflare; loops=1
HTTP_CF_CONNECTING_IP
43.241.57.8
HTTP_CONTENT_TYPE
multipart/form-data; boundary=------------------------9d9b5ef001249107
HTTP_ACCEPT
*/*
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_X_FORWARDED_PROTO
https
HTTP_CONTENT_LENGTH
394
HTTP_CF_RAY
8eb4c4029fbe919b-SIN
HTTP_X_FORWARDED_FOR
43.241.57.8
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.wordprass.org
PATH_INFO
/content66
REDIRECT_STATUS
200
SERVER_NAME
www.wordprass.org
SERVER_PORT
80
SERVER_ADDR
194.42.196.66
REMOTE_PORT
50468
REMOTE_ADDR
172.70.147.172
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
/content66
SCRIPT_NAME
/index.php
CONTENT_LENGTH
394
CONTENT_TYPE
multipart/form-data; boundary=------------------------9d9b5ef001249107
REQUEST_METHOD
POST
QUERY_STRING
s=/content66
SCRIPT_FILENAME
/www/wwwroot/www/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1733073813.3042
REQUEST_TIME
1733073813
Environment Variables
empty

ThinkPHP Constants

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