服务器环境如下:
- Nginx 1.12
- PHP-7.1--安装了memcached扩展,没有安装memcache扩展
- Memcached 1.4
- Redis 3.2.9
wordpress建站,选择了memcached版本的object-cache.php(wordpress的memcached插件)安装到/wp-content/下。
之前正常使用,memcached生效的,昨天修改了PHP.ini开启了伪静态。
一夜之后发现网站打不开了,出现错误提示如下:
Fatal error: Uncaught Error: Class 'Memcached' not found in /www/wwwroot/www.xxxxx.com/wp-content/object-cache.php:825 Stack trace: #0 /www/wwwroot/www.xxxxx.com/wp-content/object-cache.php(735): WP_Object_Cache->__construct() #1 /www/wwwroot/www.xxxxx.com/wp-includes/load.php(514): wp_cache_init() #2 /www/wwwroot/www.xxxxx.com/wp-settings.php(113): wp_start_object_cache() #3 /www/wwwroot/www.xxxxx.com/wp-config.php(100): require_once('/www/wwwroot/ww...') #4 /www/wwwroot/www.xxxxx.com/wp-load.php(37): require_once('/www/wwwroot/ww...') #5 /www/wwwroot/www.xxxxx.com/wp-blog-header.php(13): require_once('/www/wwwroot/ww...') #6 /www/wwwroot/www.xxxxx.com/index.php(17): require('/www/wwwroot/ww...') #7 {main} thrown in /www/wwwroot/www.xxxxx.com/wp-content/object-cache.php on line 825
求助哪里出了问题?
|
|