Mar 26, 2015

PHP - preg_match: Compilation failed: unknown option bit(s) set at offset 0

preg_match issue encounter after one admin update one service, unfortunately some common library need to update. Until those common library need by php thats why php also included on update.

After trying to figure out and googling the error, I found the preg_match uses prce as its library. One article on said he/she can able to work on php 4.x with prce 8.x. Since my prce still 7.8 I decide to update to 8.x and miracle happen(Issue was fixed).

NOTE: After you update your prce make sure to restart your apache.