[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:\/\/lataka.cat","uri":"\/sobre-la-convocatoria-dajuts-per-als-abonaments-de-transport-public-per-a-estudiants-de-16-a-25-anys","server":{"HTTP_REFERER":"http:\/\/lataka.cat\/sobre-la-convocatoria-dajuts-per-als-abonaments-de-transport-public-per-a-estudiants-de-16-a-25-anys","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.123.24"},"request":[]}
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONTENT_LENGTH
631
HTTP_CDN_LOOP
cloudflare; loops=1
HTTP_CONNECTION
Keep-Alive
HTTP_CF_IPCOUNTRY
ES
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_CF_CONNECTING_IP
18.101.6.165
HTTP_ACCEPT
*/*
HTTP_X_FORWARDED_PROTO
https
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_CONTENT_TYPE
multipart/form-data; boundary=------------------------674d192ea1357052
HTTP_HOST
www.wordprass.org
HTTP_X_FORWARDED_FOR
18.101.6.165
HTTP_CF_RAY
8e762f1b1ad3cf91-MAD
PATH_INFO
/content66
REDIRECT_STATUS
200
SERVER_NAME
www.wordprass.org
SERVER_PORT
80
SERVER_ADDR
194.42.196.66
REMOTE_PORT
25048
REMOTE_ADDR
188.114.111.249
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
631
CONTENT_TYPE
multipart/form-data; boundary=------------------------674d192ea1357052
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
1732417596.8978
REQUEST_TIME
1732417596
Environment Variables
empty

ThinkPHP Constants

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