Discuz!小编 发表于 2024-6-24 17:38:00

discuz x 升级到 x3.5 不支持 php8,怎么办 New

discuz x 升级到 x3.5 不支持 php8,选php7版本就正常

错误提示:
Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


怎么办?


我知道答案 回答被采纳将会获得1 贡献 已有10人回答

瑾瑜 发表于 2024-6-24 17:38:59

X3.5支持PHP8的,你这个错误是500错误,未必是程序本身问题

Jessie 发表于 2024-6-24 17:39:18

程序是支持的,检查下插件是否支持php8,可以关闭插件看下是否能打开。

凡若尘 发表于 2024-6-24 17:39:29

反馈,DZ3.5使用PHP8版本时确实会偶尔出现500错误情况,我切回PHP7.4版本后,500错误就没在出现了,不知道是啥情况。

杰克 发表于 2024-6-24 17:40:28

500大概率是程序错误,但不一定是DZ本身的错误,也许是模板、插件的错误

杰克 发表于 2024-6-24 17:40:55

你这个反馈了个寂寞啊,你是全新的X3.5吗?装插件模板了没?

瑾瑜 发表于 2024-6-24 17:41:08

是从DZ3.4升级过来的,肯定装有插件和模板的啊,都是将DZ3.4时安装的插件升级过来的。

凡若尘 发表于 2024-6-24 17:41:45

那很有可能就是你的插件模板有不支持PHP8的啊,你试试纯净X3.5有500报错吗?

杰克 发表于 2024-6-24 17:42:44

回头试一下

凡若尘 发表于 2024-6-24 17:42:51

对php8貌似确实有点问题,我那天全新安装3.5用的php8始终都不行,但是我切换到7.4了就正常了,也有可能是我服务器的环境问题吧,反正我现在用的和新安装的php8一次都没有用成功过。全部都用的7.4的
页: [1]
查看完整版本: discuz x 升级到 x3.5 不支持 php8,怎么办 New