Discuz! 官方交流社區(qū)
標(biāo)題: discuz x 升級到 x3.5 不支持 php8,怎么辦 [打印本頁]
作者: tan-tan 時間: 2024-6-19 00:30
標(biāo)題: discuz x 升級到 x3.5 不支持 php8,怎么辦
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.
怎么辦?
作者: 湖中沉 時間: 2024-6-19 07:33
X3.5支持PHP8的,你這個錯誤是500錯誤,未必是程序本身問題
作者: 鴻茂傳媒 時間: 2024-6-19 08:27
程序是支持的,檢查下插件是否支持php8,可以關(guān)閉插件看下是否能打開。
作者: 白天也懂夜的黑 時間: 2024-6-19 09:40
反饋,DZ3.5使用PHP8版本時確實(shí)會偶爾出現(xiàn)500錯誤情況,我切回PHP7.4版本后,500錯誤就沒在出現(xiàn)了,不知道是啥情況。
(, 下載次數(shù): 1)
作者: 科站網(wǎng) 時間: 2024-6-19 09:47
500大概率是程序錯誤,但不一定是DZ本身的錯誤,也許是模板、插件的錯誤
作者: 湖中沉 時間: 2024-6-19 09:56
你這個反饋了個寂寞啊,你是全新的X3.5嗎?裝插件模板了沒?
作者: 白天也懂夜的黑 時間: 2024-6-19 10:00
是從DZ3.4升級過來的,肯定裝有插件和模板的啊,都是將DZ3.4時安裝的插件升級過來的。
作者: 湖中沉 時間: 2024-6-19 11:57
那很有可能就是你的插件模板有不支持PHP8的啊,你試試純凈X3.5有500報錯嗎?
作者: 白天也懂夜的黑 時間: 2024-6-19 13:52
回頭試一下
作者: 海哥 時間: 2024-6-19 13:55
對php8貌似確實(shí)有點(diǎn)問題,我那天全新安裝3.5用的php8始終都不行,但是我切換到7.4了就正常了,也有可能是我服務(wù)器的環(huán)境問題吧,反正我現(xiàn)在用的和新安裝的php8一次都沒有用成功過。全部都用的7.4的
作者: Killer 時間: 2024-6-20 10:32
大量PHP8+X3.5組合的案例,不可能存在大的普遍性的不支持的
歡迎光臨 Discuz! 官方交流社區(qū) (http://www.9999xn.com/) |
Powered by Discuz! W1.0 |