• 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?

RobParker

Well-known member
#1
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?
 

Deebs

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