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

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +838
    Local Time:
    2:44 AM
    Nginx-1.26.x
    MariaDB 10.6.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

    55,951
    12,283
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,870
    Local Time:
    9:44 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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;