将 PHP 7.4 更新到 PHP 8.1 RC5 后,PHP 已停止在我的机器上运行并产生以下错误:
PHP 警告:PHP 启动:^(text/|application/xhtml+xml) (offset=0): Unrecognized compile-time option bit(s) in Unknown on line 0
即使我要求 php 版本,它也会产生错误:
PHP Warning: PHP Startup: ^(text/|application/xhtml\+xml) (offset=0): unrecognised compile-time option bit(s) in Unknown on line 0
PHP 8.1.0RC5 (cli) (built: Nov 4 2021 14:57:53) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.1.0RC5, Copyright (c), by Zend Technologies
操作系统:Ubuntu 20.04
使用此存储库更新:
sudo add-apt-repository ppa:ondrej/php
你知道可能是什么问题吗?