Skip to content
Advertisement

PHP is not working after updating to PHP 8.1 RC5

After updating PHP 7.4 to PHP 8.1 RC5, PHP has stopped working on my machine and produces following error:

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

it produces the error even when I ask for php version:

JavaScript

OS: Ubuntu 20.04

updated using this repository:

JavaScript

do you know what the problem could be?

Advertisement

Answer

The problem is solved, just update the repository and re-install PHP 8.1. I think it was just in RC5

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement