Hi, I’ve been using ppa:ondrej/php repository for many months, but today, after installing PHP 8.0 and 7.4 on a new fresh server, I noticed the following error:
PHP message: PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in <any_php_file>
This problem doesn’t occur with older versions of PHP (<=7.3) and have never occurred before. I tested on the latest versions of WordPress and Drupal. Anyone faced with a similar error recently?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!