Join the community today
Register Now

Beta Branch PHP 7.3.0 alpha compile workaround fix

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 23, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    41,646
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    7:55 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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...

    123.09beta01 branch

     
    • Like Like x 1