Join the community today
Register Now

Master Branch PHP 7.3.0 alpha compile workaround fix

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 2, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    59,331
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,143
    Local Time:
    6:52 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    PHP 7.3.0 alpha compile workaround fix

    PHP 7.3 enables further AVX instructions and CentOS 7, GCC 4.8.5 compiler target recognises newer cpus like Intel Xeon Scalable Skylake or Intel Xeon E5-26xx v4 Broadwell as core-avx2 targets and that disables AVX instructions. Workaround is when PHP 7.3 is selected in centmin.sh menu option 5 upgrading, switch from CentOS 7 native GCC 4.8.5 to devtoolset-7 GCC 7.3.1 which is used to already build Nginx. Will have to do the same for CentOS 6.x too when PHP 7.3 selected.

    php -v
    PHP 7.3.0alpha2 (cli) (built: Jun 22 2018 18:12:03) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.0alpha2, Copyright (c) 1999-2018, by Zend Technologies

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.