PHP8.5无法显示任何内容 #85

Closed
opened 2026-01-15 11:41:01 +08:00 by yan · 8 comments
Owner

Originally created by @Cathgao on GitHub (Dec 3, 2025).

Originally assigned to: @kmvan on GitHub.

  • OS: Ubuntu24.04
  • PHP version: 8.5
  • Browser: Chrome
php -v
PHP 8.5.0 (cli) (built: Nov 20 2025 19:17:11) (NTS)
Copyright (c) The PHP Group
Built by Debian
Zend Engine v4.5.0, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.0, Copyright (c), by Zend Technologies


php -m
[PHP Modules]
calendar
Core
ctype
date
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
json
lexbor
libxml
openssl
pcntl
pcre
PDO
Phar
posix
random
readline
Reflection
session
shmop
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
uri
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

页面完全无法显示,只有最下面提示无法获取数据。浏览器调试里看到不断有http500

Image
Originally created by @Cathgao on GitHub (Dec 3, 2025). Originally assigned to: @kmvan on GitHub. - OS: Ubuntu24.04 - PHP version: 8.5 - Browser: Chrome ``` php -v PHP 8.5.0 (cli) (built: Nov 20 2025 19:17:11) (NTS) Copyright (c) The PHP Group Built by Debian Zend Engine v4.5.0, Copyright (c) Zend Technologies with Zend OPcache v8.5.0, Copyright (c), by Zend Technologies php -m [PHP Modules] calendar Core ctype date exif FFI fileinfo filter ftp gettext hash iconv json lexbor libxml openssl pcntl pcre PDO Phar posix random readline Reflection session shmop sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer uri Zend OPcache zlib [Zend Modules] Zend OPcache ``` 页面完全无法显示,只有最下面提示无法获取数据。浏览器调试里看到不断有http500 <img width="1678" height="1097" alt="Image" src="https://github.com/user-attachments/assets/d9f7ed59-58c8-4558-9bfa-372194f007eb" />
yan added the bug label 2026-01-15 11:41:01 +08:00
yan closed this issue 2026-01-15 11:41:02 +08:00
Author
Owner

@Deadline039 commented on GitHub (Dec 6, 2025):

同样问题,ubuntu24.04.3 LTS

php -v
PHP 8.3.6 (cli) (built: Jul 14 2025 18:30:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies

php -m
[PHP Modules]
calendar
Core
ctype
date
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
openssl
pcntl
pcre
PDO
pdo_sqlite
Phar
posix
random
readline
Reflection
session
shmop
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

@Deadline039 commented on GitHub (Dec 6, 2025): 同样问题,ubuntu24.04.3 LTS ``` php -v PHP 8.3.6 (cli) (built: Jul 14 2025 18:30:55) (NTS) Copyright (c) The PHP Group Zend Engine v4.3.6, Copyright (c) Zend Technologies with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies php -m [PHP Modules] calendar Core ctype date exif FFI fileinfo filter ftp gettext hash iconv json libxml openssl pcntl pcre PDO pdo_sqlite Phar posix random readline Reflection session shmop sockets sodium SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer Zend OPcache zlib [Zend Modules] Zend OPcache ```
Author
Owner

@oakboat commented on GitHub (Dec 18, 2025):

找到问题了 缺拓展 sudo apt install php-mbstring

@oakboat commented on GitHub (Dec 18, 2025): 找到问题了 缺拓展 sudo apt install php-mbstring
Author
Owner

@Cathgao commented on GitHub (Dec 19, 2025):

应该是安装mbstring就好了

@Cathgao commented on GitHub (Dec 19, 2025): 应该是安装mbstring就好了
Author
Owner

@kmvan commented on GitHub (Dec 19, 2025):

按理说这个扩展默认安装。

@kmvan commented on GitHub (Dec 19, 2025): 按理说这个扩展默认安装。
Author
Owner

@oakboat commented on GitHub (Dec 19, 2025):

按理说这个扩展默认安装。

但是Ubuntu debian的包管理器没有 curl也没有

@oakboat commented on GitHub (Dec 19, 2025): > 按理说这个扩展默认安装。 但是Ubuntu debian的包管理器没有 curl也没有
Author
Owner

@Cathgao commented on GitHub (Dec 20, 2025):

是的,Debian系的apt都不默认安装mbstring,我5台服务器都不会自动依赖mbstring

@Cathgao commented on GitHub (Dec 20, 2025): 是的,Debian系的apt都不默认安装mbstring,我5台服务器都不会自动依赖mbstring
Author
Owner

@kmvan commented on GitHub (Dec 21, 2025):

确认是 mb_ 系列函数导致的问题,下个版本可解决。

@kmvan commented on GitHub (Dec 21, 2025): 确认是 `mb_` 系列函数导致的问题,下个版本可解决。
Author
Owner

@kmvan commented on GitHub (Dec 21, 2025):

按理说这个扩展默认安装。

但是Ubuntu debian的包管理器没有 curl也没有

是时候用 x-lnmp 了,3分钟对照逐行安装爽歪歪。

@kmvan commented on GitHub (Dec 21, 2025): > > 按理说这个扩展默认安装。 > > 但是Ubuntu debian的包管理器没有 curl也没有 是时候用 [x-lnmp](https://github.com/kmvan/x-lnmp/blob/master/ubuntu/run.sh) 了,3分钟对照逐行安装爽歪歪。
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yan/archived-x-prober#85