Join the community today
Register Now

Beta Branch update inc/php_configure.inc

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 21, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    30,149
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    11:27 PM
    Nginx 1.13.x
    MariaDB 5.5
  2. Revenge

    Revenge Active Member

    288
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    2:27 PM
    1.9.x
    10.1.x
    @eva2000 i always used php from Repo. Which advantage exists from compiling php yourself?

    With nginx i also compile it myself because there are enormous advantage on doing so.
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,149
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    11:27 PM
    Nginx 1.13.x
    MariaDB 5.5
    Mainly pure performance benefits

    1. can use intel cpu optimised compile flags for faster resulting php binaries = better php performance :)
    2. for PHP 7 can use Intel Profiled Guided Optimisations for PHP 7 = 3-17% faster PHP 7 binaries https://community.centminmod.com/th...ptimizations-to-boost-php-7-performance.8961/
    3. the intel cpu optimised compile flags will boost performance even more for Intel Xeon E3 1200v4, 1200v5,1200v6 and E5 2600v4+ cpus which have newer improvements that would require software to be compiled optimally to support them.

    And timeliness of updates

    But also allows Centmin Mod end users to compile and update/downgrade Nginx and PHP via centmin.sh menu option 4 and 5 without my intervention. If a critical security release for Nginx or PHP comes out and I am asleep but Centmin Mod user sees the news online, they can update to those Nginx and PHP versions immediately direct from source tarballs. This is usually more timely than from YUM repos as you need to wait for YUM repo maintainers to build the respective RPMs and then for them to populate through various YUM repo mirrors.

    Which is potentially faster ? PHP source compile taking 2-20 minutes or waiting a few hours or days for YUM rpm updates to be built + to populate through the mirrors etc.
     
    Last edited: Feb 21, 2017
    • Like Like x 1
    • Agree Agree x 1