Discover Centmin Mod today
Register Now

PHP PHP 8.0.0 GA Stable Release

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Nov 27, 2020.

  1. Rhodium

    Rhodium New Member

    25
    5
    3
    Jul 1, 2020
    Ratings:
    +9
    Local Time:
    10:09 PM
    We need to setup this i think

    php8.jpg


    Because default is 0 and it says jit is disabled.
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:09 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yes PHP 8 JIT is disabled by default as end users need to test if PHP 8 JIT works with their web apps first. That is left up to end users to decide
     
  3. Chris

    Chris Member

    51
    10
    8
    Feb 27, 2015
    Ratings:
    +15
    Local Time:
    4:09 PM
    1.7
    10
    Anyone running this yet with their XenForo?
     
  4. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    5:09 AM
    Mainline
    10.2
    Yep, all my XF 2.2.x site are now using PHP 8.0.3.
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:09 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Do you use Jit?

    I think it is not enabled out of the box....
     
  6. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    3:09 PM
    1.22.0
    MariadDB 10.4.25
    A benchmark just for the curious and for later reference.

    Dedicated Server with a Intel Xeon E-2288G, 64GB RAM, 2 x Samsung NVMe SSD SM981/PM981/PM983 920GB RAID1, CentOS 7.9, Kernel 4.19, Centmin 123.09beta01

    PHP 7.4.16 compiled with latest gcc9 devtoolset, intel optimization and 300 runs of PGO training.

    Results:

    detailed_benchmark.php --- average: 1.098 sec
    bench.php ------------------- average: 0.155
    micro_bench.php ----------- average: 1.024
     
  7. duderuud

    duderuud Premium Member Premium Member

    250
    82
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +178
    Local Time:
    10:09 PM
    1.27 x
    10.6
    Also would like to know if you have enabled JIT...
     
  8. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    5:09 AM
    Mainline
    10.2
    No, just normal PHP upgrade... nothing extra special.
     
  9. duderuud

    duderuud Premium Member Premium Member

    250
    82
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +178
    Local Time:
    10:09 PM
    1.27 x
    10.6
    Going to test JIT on my beta server soon.
     
  10. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    3:09 PM
    1.22.0
    MariadDB 10.4.25
    A new benchmark again just for the curious and for later reference.

    Dedicated Server with a Intel Xeon E-2288G, 128GB RAM ECC, 2 x Intel Corporation NVMe Datacenter SSD [3DNAND] SE 2.5" U.2 (P4510) PCIE 3.0 X4 2TB RAID1, CentOS 7.9, Kernel 3.10.0-1160.45.1, Centmin 123.09beta01

    PHP 7.4.24 compiled with latest gcc10 devtoolset, intel optimization and 300 runs of PGO training.

    Results:

    detailed_benchmark.php --- average: 1.129 sec
    bench.php ------------------- average: 0.234
    micro_bench.php ----------- average: 1.343

    PHP 8.0.12 compiled with latest gcc10 devtoolset, intel optimization and 300 runs of PGO training.

    Results:

    detailed_benchmark.php --- average: 1.074 sec
    bench.php ------------------- average: 0.221
    micro_bench.php ----------- average: 1.297

    Here is a simple YABS (Yet-Another-Bench-Script) run on this server:

    Code:
    fio Disk Speed Tests (Mixed R/W 50/50):
    ---------------------------------
    Block Size | 4k            (IOPS) | 64k           (IOPS)
      ------   | ---            ----  | ----           ----
    Read       | 819.72 MB/s (204.9k) | 1.18 GB/s    (18.5k)
    Write      | 821.88 MB/s (205.4k) | 1.19 GB/s    (18.6k)
    Total      | 1.64 GB/s   (410.4k) | 2.37 GB/s    (37.1k)
               |                      |                   
    Block Size | 512k          (IOPS) | 1m            (IOPS)
      ------   | ---            ----  | ----           ----
    Read       | 1.31 GB/s     (2.5k) | 1.32 GB/s     (1.2k)
    Write      | 1.38 GB/s     (2.7k) | 1.41 GB/s     (1.3k)
    Total      | 2.70 GB/s     (5.2k) | 2.73 GB/s     (2.6k)
    
    Geekbench 4 Benchmark Test:
    ---------------------------------
    Test            | Value                       
                    |                             
    Single Core     | 6476                       
    Multi Core      | 35892                       
    
    Geekbench 5 Benchmark Test:
    ---------------------------------
    Test            | Value                       
                    |                             
    Single Core     | 1397                       
    Multi Core      | 8706                       
    
     
    Last edited: Oct 22, 2021
  11. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:09 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Thanks for sharing :D
     
  12. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    3:09 PM
    1.22.0
    MariadDB 10.4.25
    Again a brand new benchmark again just for the curious and for later reference.

    Dedicated Server with a Intel Xeon E-2388G, 128GB RAM ECC, 2 x NVMe SSD 2TB RAID1, CentOS 7.9, Kernel 3.10.0-1160.83.1, Centmin 130.00beta01

    PHP 7.4.33 compiled with latest gcc11 devtoolset, intel optimization and 160 runs of PGO training.

    Results:

    detailed_benchmark.php --- average: 1.401 sec
    bench.php ------------------- average: 0.311
    micro_bench.php ----------- average: 1.635

    PHP 8.0.27 compiled with latest gcc11 devtoolset, intel optimization and 160 runs of PGO training.

    Results:

    detailed_benchmark.php --- average: 1.327 sec
    bench.php ------------------- average: 0.283
    micro_bench.php ----------- average: 1.576

    The simple YABS (Yet-Another-Bench-Script) run on this server:

    Code:
    fio Disk Speed Tests (Mixed R/W 50/50):
    ---------------------------------
    Block Size | 4k            (IOPS) | 64k           (IOPS)
      ------   | ---            ----  | ----           ----
    Read       | 662.57 MB/s (165.6k) | 1.18 GB/s    (18.5k)
    Write      | 664.32 MB/s (166.0k) | 1.19 GB/s    (18.6k)
    Total      | 1.32 GB/s   (331.7k) | 2.38 GB/s    (37.2k)
               |                      |                    
    Block Size | 512k          (IOPS) | 1m            (IOPS)
      ------   | ---            ----  | ----           ----
    Read       | 1.29 GB/s     (2.5k) | 1.33 GB/s     (1.3k)
    Write      | 1.36 GB/s     (2.6k) | 1.42 GB/s     (1.3k)
    Total      | 2.65 GB/s     (5.1k) | 2.76 GB/s     (2.6k)
    
    Geekbench 4 Benchmark Test:
    ---------------------------------
    Test            | Value                        
                    |                              
    Single Core     | 5184                        
    Multi Core      | 30408                        
    
    Geekbench 5 Benchmark Test:
    ---------------------------------
    Test            | Value                        
                    |                              
    Single Core     | 1178                        
    Multi Core      | 7508                        
    
     
  13. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:09 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Thanks for sharing :)

    That's a beefy server. Who's the web host?
     
  14. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    3:09 PM
    1.22.0
    MariadDB 10.4.25
    Vultr.com
     
  15. happyhacking

    happyhacking Member

    111
    18
    18
    Apr 23, 2021
    Ratings:
    +61
    Local Time:
    3:09 PM
    1.22.0
    MariadDB 10.4.25
    BTW, any ETA for supporting AlmaLinux 8.7 or 9.1 ? or at least upgrading MariaDB to 10.6+ ? Im requesting this since Moodle 4.2 will require at least MariaDB 10.6
     
  16. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:09 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod 130.00beta01 already has private flags to enable MariaDB 10.4 to 10.6 support. If you're part of private EL8 beta testing, you can read https://community.centminmod.com/threads/mariadb-10-4-upgrades-testing.23277/

    Right now Centmin Mod still only supports CentOS 7 64bit EL7 operating system installations. CentOS 7 is still supported until 2024. I am actively working on compatibility with EL8/EL9 systems for AlmaLinux 8/9 and Rocky Linux 8/9 which are OSes replacing early EOL'd CentOS 8. EL8 OSes are supported until 2029, and EL9 OSes are supported until 2032 by Redhat Enterprise Linux upstream.

    Details for work logs for EL8 and EL9 compatibility work are at:
    Some Centmin Mod users who are very familiar with Centmin Mod and/or EL8/EL9 non-Centmin Mod OS setups have already been invited into a limited private EL8 Centmin Mod beta testing group to provide beta testing feedback and suggestions in a private forum right now. Afterwards, I'd open the EL8 beta testing to the public.

    Only EL8 beta testing is underway as EL9 testing is still a long way away from release.

    So basically, how much and fast the EL8 private beta testing feedback and bug reporting goes will ultimately determine when public EL8 beta testing starts and then how much/fast that public testing goes will determine when official EL8 support comes :) This of course is tempered by my own free time availability due to paid work/clients as I only work on Centmin Mod in my free time. If Centmin Mod was a full time job, I'd have EL8/EL9 completed at least 6-12 months earlier LOL.

    p.s. EL8 means including 8.7 and EL9 means including 9.1