Want more timely Centmin Mod News Updates?
Become a Member

Nginx PageSpeed ngx_pagespeed 1.11.33.4 beta release

Discussion in 'Install & Upgrades or Pre-Install Questions' started by eva2000, Oct 5, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    54,860
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    7:50 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ngx_pagespeed 1.11.33.4-beta has been released. Read below for instructions for updating your Centmin Mod Nginx's ngx_pagespeed module integration. Latest centmin mod 123.08stable and 123.09beta01 by default now disable ngx_pagespeed module and remove it's integration out of the box unless you specifically enable it in 123.09beta01 builds via
    NGINX_PAGESPEED=y. The centmin mod 123.09beta01 is only branch that now supports ngx_pagespeed 1.11 branch versions so if you need to enable ngx_pagespeed 1.11, you need to switch and upgrade to latest 123.09beta01 beta via centmin.sh menu option 23 sub menu option 2 or 3.

    Summary



    Basic summary is you have 2 options going forth:

    Option 1

    You actively use ngx_pagespeed and require updating ngx_pagespeed - then you update or switch to Centmin Mod 123.09beta01 branch as 123.08stable doesn't support ngx_pagespeed 1.10+ branch. Once you switch to 123.09beta01 branch confirm centmin.sh has 1.11.33.4 listed for Nginx Pagespeed variables with command
    Code (Text):
    grep 1.11.33 /usr/local/src/centminmod/centmin.sh
    

    and if it doesn't report 1.11.33.4+ versions, use centmin.sh menu option 23 submenu option 2 to update your 123.09beta01 code. Then set in /etc/centminmod/custom_config.inc persistent config file you create or already created and set:
    Code (Text):
    NGINX_PAGESPEED=y
    and then recompile lastest Nginx version 1.11.4 via centmin.sh menu option 4. Centmin Mod 123.09beta01 change log is here.

    Option 2

    You do not use ngx_pagespeed and want to disable it - then you update to latest Centmin Mod 123.09beta01 branch or update to 123.08stable code via centmin.sh menu option 23 and just then recompile lastest Nginx version 1.11.4 via centmin.sh menu option 4 (which already has NGINX_PAGESPEED=n set out of box)

    Announcement



    From PageSpeed Release Notes  |  PageSpeed Module  |  Google Developers

    How to Update ngx_pagespeed




    Best way is to also keep your Centmin Mod code updated as outlined at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS via centmin.sh menu option 23 if possible then you won't need to play with changing version numbers if I already updated the code for the new versions. However, if I have not updated the versions, you can do that yourself using instructions below.

    Both 123.08stable and 123.09beta01 now disable ngx_pagespeed by default, to enable set in /etc/centminmod/custom_config.inc persistent config file you create or already created and set:
    Code (Text):
    NGINX_PAGESPEED=y

    and then recompile Nginx 1.11.4 via centmin.sh menu option 4

    For 123.08stable and nginx versions 1.9.10 and below. Note that 123.08stable ngx_pagespeed support is disabled by default for newer installs due to Nginx 1.9.11+ compatibility issues and ngx_pagespeed 1.10+ or 1.11+ branch is not supported in 123.08stable, so please update to Centmin Mod 123.09beta01 and ngx_pagespeed 1.11 branch

    For 123.09beta01
    Code (Text):
    NGXPGSPEED_VER='1.11.33.4-beta'
    NGINX_PAGESPEEDPSOL_VER='1.11.33.4'
    


    For 123.08stable and nginx versions 1.9.10 and below, update to 123.09beta01 first then added version variables in /etc/centminmod/custom_config.inc persistent config file

    For 123.09beta01 and nginx versions 1.9.11+ and higher, change variables in /etc/centminmod/custom_config.inc persistent config file

    to
    Code (Text):
    NGXPGSPEED_VER='1.11.33.4-beta'
    NGINX_PAGESPEEDPSOL_VER='1.11.33.4'
    


    then recompile nginx via centmin.sh menu option 4 with Nginx version 1.11.4 if using Centmin Mod 123.09beta01

    check that ngx_pagespeed updated version was compiled via nginx -V command

    Switching to 123.09beta01 branch



    Switching to 123.09beta01 branch is easy via centmin.sh menu option 23 submenu option 1 first then submenu option
    3

    [​IMG]