• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Archive redirects not working properly since nginx install?


Well-known member
Since moving to nginx from apache we're seeing a lot of these in our error log:

ErrorException: preg_match(): Compilation failed: unrecognized character after (?< at offset 27 - forums/archive/index.php:19

Any ideas? I saw a similar thread about adding a "P", is that the solution here?


Well-known member
Check the php.ini that nginx/php-fpm is loading. The tags to define a php script are different.
is what I suspect your apache/php ini file had set.