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

26-Nov-2021

.

Admin

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

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.........

#Laravel 8

#Laravel 7

#PHP

#Laravel 6