Php Magento 2 Http错误500启用缓存时,站点在禁用缓存时工作

Php Magento 2 Http错误500启用缓存时,站点在禁用缓存时工作,php,magento2,magento2.2.3,Php,Magento2,Magento2.2.3,我正在PHP7.1上创建一个现有的Magento 2.2.3站点,并将其放在我的服务器上。当我启用缓存时,它会抛出下面的HTTP500错误。我的服务器上安装了所有7.1必需的扩展。我在Magento中禁用了第三方模块。你知道这是什么原因吗? 谢谢 皮特 错误日志 [29-Apr-2021 16:31:34 UTC]PHP警告:未捕获的异常:警告:SessionHandler::open():无法在/home2/petermatratest/public_html/vendor/magento/f

我正在PHP7.1上创建一个现有的Magento 2.2.3站点,并将其放在我的服务器上。当我启用缓存时,它会抛出下面的HTTP500错误。我的服务器上安装了所有7.1必需的扩展。我在Magento中禁用了第三方模块。你知道这是什么原因吗? 谢谢 皮特

错误日志 [29-Apr-2021 16:31:34 UTC]PHP警告:未捕获的异常:警告:SessionHandler::open():无法在/home2/petermatratest/public_html/vendor/magento/framework/session/SaveHandler.PHP第59行/home2/petermatest/public_html/vendor/magento/framework/App/ErrorHandler.PHP:61中以递归方式调用会话保存处理程序 堆栈跟踪:
#0[内部函数]:Magento\Framework\App\ErrorHandler->handler(2,'SessionHandler:…','/home2/petermat…',59,数组)
#1/home2/petermatratest/public_html/vendor/magento/framework/Session/SaveHandler.php(59):SessionHandler->open('/opt/alt/php71/…,'PHPSESSID')
#2[内部函数]:Magento\Framework\Session\SaveHandler->open('/opt/alt/php71/…,'PHPSESSID')
#3/home2/petermatratest/public_html/vendor/magento/framework/Session/SessionManager.php(206):Session_start()
#4/home2/petermatratest/public_html/vendor/magento/framework/Interception/Interception.php(58):magento\framework\Session\SessionManager->start()
#5/home2/petermatratest/public_html/vendor/magento/framework/intercept/Interceptor。在第61行的/home2/petermatratest/public_html/vendor/magento/framework/App/ErrorHandler.php中
[29-Apr-2021 16:31:34 UTC]PHP致命错误:会话_start():未能在第206行的/home2/petermatratest/public_html/vendor/magento/framework/session/SessionManager.PHP中初始化存储模块:user(路径:/opt/alt/php71/var/lib/PHP/session)