Join the community today
Become a Member

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

    8
    3
    3
    Jul 1, 2020
    Ratings:
    +3
    Local Time:
    1:48 AM
    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

    47,833
    10,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,945
    Local Time:
    10:48 AM
    Nginx 1.21.x
    MariaDB 10.x
    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 Premium Member Premium Member

    46
    9
    8
    Feb 27, 2015
    Ratings:
    +13
    Local Time:
    7:48 PM
    1.7
    10
    Anyone running this yet with their XenForo?
     
  4. rdan

    rdan Premium Member Premium Member

    5,126
    1,276
    113
    May 25, 2014
    Ratings:
    +1,953
    Local Time:
    8:48 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

    3,963
    407
    83
    May 31, 2014
    Ratings:
    +788
    Local Time:
    2:48 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Do you use Jit?

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

    happyhacking New Member

    28
    7
    3
    Apr 23, 2021
    Ratings:
    +15
    Local Time:
    6:48 PM
    1.19.10
    MariadDB 10.4.18
    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 Member

    46
    13
    8
    Dec 5, 2020
    The Netherlands
    Ratings:
    +31
    Local Time:
    1:48 AM
    Nginx 1.21.4
    MariaDB 10.4
    Also would like to know if you have enabled JIT...
     
  8. rdan

    rdan Premium Member Premium Member

    5,126
    1,276
    113
    May 25, 2014
    Ratings:
    +1,953
    Local Time:
    8:48 AM
    Mainline
    10.2
    No, just normal PHP upgrade... nothing extra special.
     
  9. duderuud

    duderuud Member

    46
    13
    8
    Dec 5, 2020
    The Netherlands
    Ratings:
    +31
    Local Time:
    1:48 AM
    Nginx 1.21.4
    MariaDB 10.4
    Going to test JIT on my beta server soon.
     
  10. happyhacking

    happyhacking New Member

    28
    7
    3
    Apr 23, 2021
    Ratings:
    +15
    Local Time:
    6:48 PM
    1.19.10
    MariadDB 10.4.18
    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

    47,833
    10,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,945
    Local Time:
    10:48 AM
    Nginx 1.21.x
    MariaDB 10.x
    Thanks for sharing :D