CodeIgniter Forums
preg_match error - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: preg_match error (/thread-44066.html)

preg_match error - El Forum - 08-01-2011

I have just installed CodeIgniter 2.0.2 on PHP 5.4 alpha 2, and I get the following
Severity: Warning
Message: preg_match() [function.preg-match]: Compilation failed: unknown option bit(s) set at offset 0
Filename: core/Utf8.php
Line Number: 44

Is it related to how I have compiled PHP, or is it related to CodeIgniter? Thanks!

preg_match error - El Forum - 08-02-2011

It appears that you have an unsupported version of PCRE built into your PHP. Most things I've read while doing a quick search says the best solution is to recompile PHP with the appropriate PCRE.

preg_match error - El Forum - 08-02-2011

Thank you for your reply!