Learn about Centmin Mod LEMP Stack today
Register Now

Nginx nginx was built without PCRE JIT - WARNING

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Aug 19, 2015.

Tags:
  1. pamamolf

    pamamolf Well-Known Member

    2,720
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    7:07 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    I was compile Nginx with PCRE JIT support and today i decide to not use it anymore so i set it to no before upgrading to the latest Nginx 1.9.4.

    After the upgrade when the Nginx starts i got this warning:

    Code:
    [warn] 9887#9887: nginx was built without PCRE JIT support in /usr/local/nginx/conf/nginx.conf:8
    On line 8 we have:

    Code:
    pcre_jit on;
    So is there a way for Centminmod to remove this line or set i to off maybe in such case to avoid the warning?

    Thank you :)
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,138
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    2:07 PM
    Nginx 1.13.x
    MariaDB 5.5
    why you want to do that ? Nginx with pcre_jit is magnitudes faster than without it !

    but yes you can comment out that line
    Code:
    #pcre_jit on;
     
    • Informative Informative x 1