Fedora 35 PHP 8.0/8.1警告:PHP启动: ^(text/| application/xhtml \+ xml)(offset = 0

发布于 2025-01-22 17:53:49 字数 303 浏览 3 评论 0原文

我使用的是Fedora Linux VER 35,带有PHP 8.0.x,但最近遇到以下错误,PHP代码无法正常工作。

PHP警告:php启动: ^(text/| application/xhtml+xml)(offset = 0):在第0行中未知的未识别的编译时间选项位,

我尝试

  1. 将其安装/升级到8.1,但仍然收到相同错误
  2. 还尝试了APT更新和APT升级,但没有效果

,我读了其他解决方案,似乎是针对Debian OS的。

感谢任何人可以提供一些帮助?

谢谢

I am using Fedora Linux ver 35 with PHP 8.0.x but recently encountered below error and the php codes failed to work.

PHP Warning: PHP Startup: ^(text/|application/xhtml+xml) (offset=0): unrecognised compile-time option bit(s) in Unknown on line 0

I tried

  1. installing / upgrading it to 8.1 but still received the same error
  2. also tried apt update and apt upgrade but with no effect

I read other solutions, seem to be for debian os.

Appreciate anyone can offer some help?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文