Skip to content

All topics  /  General

Solved - unrecognised compile-time option bit(s) at offset 0

General ·

How are you all?

Today I am trying to use preg_replace() but I am facing following error Message Warnin:gpreg_replace(): Compilation failed: unrecognised compile-time option bit(s) at offset 0

So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

run command :


sudo apt install libpcre2-16-0 libpcre2-8-0 libpcre2-32-0

I hope it can help you.........