WordPress 网站更新到 php 8.0 时崩溃

WordPress 网站更新到 php 8.0 时崩溃

我在 Debian 10 上托管一个 WordPress 网站。我刚刚安装了 php8.0。当我 a2enmod php8.0 时,WordPress 网站完全崩溃了。

在 Firefox 上我收到以下消息:

Secure Connection Failed

An error occurred during a connection to xxxx.

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.

在 Chrome 上我收到以下消息:

This page isn’t working
xxxx didn’t send any data.

ERR_EMPTY_RESPONSE

我尝试在顶部使用以下内容更新 .htaccess 文件,但没有帮助:

AddHandler application/x-httpd-php80 .php

什么可能导致此错误?我需要更新 MariaDB php 吗? phpMyAdmin?

apache错误日志有:AH00052: child pid 12041 exit signal Segmentation failure (11)

答案1

这可能是内存问题。您的 php.ini 文件是否在升级过程中被重置?

相关内容