Want to subscribe to topics you're interested in?
Become a Member

PHP-FPM PHP-FPM PGO compile/update failure

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Jon Snow, Jan 31, 2025.

  1. Jon Snow

    Jon Snow Active Member

    917
    188
    43
    Jun 30, 2017
    Ratings:
    +293
    Local Time:
    5:53 PM
    Nginx 1.13.9
    MariaDB 10.1.31
    @eva2000 I think there's a problem with the PHP lines:
    Code (Text):
    PHP_PGO_ALWAYS='y'
    PHP_PGO='y'
    PHP_BROTLI='y'
    PHP_LZFOUR='y'
    PHP_LZF='y'
    PHP_ZSTD='y'


    My PHP 8.2 upgrade was failing until I removed them.

    Code (Text):
    Error: 2, PHP make failed (131.00stable.b068)


     
  2. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    6:53 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    probably related to as seems some reports of PGO not working with PHP built with GCC 13 compiler, but I configured Centmin Mod to revert to GCC 12 compiler if PGO is enabled, but could be further bugs so disabling PGO might be needed. The bug/issue is with GCC compiler

    so remove these 2
    Code (Text):
    PHP_PGO_ALWAYS='y'
    PHP_PGO='y'
    

    Might need PHP upgrade log to troubleshoot https://community.centminmod.com/threads/how-to-troubleshoot-php-installs-upgrades.17857/
     
  3. Jon Snow

    Jon Snow Active Member

    917
    188
    43
    Jun 30, 2017
    Ratings:
    +293
    Local Time:
    5:53 PM
    Nginx 1.13.9
    MariaDB 10.1.31
  4. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    6:53 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Check if you ran out of memory or free disk space
    Code (Text):
    df -hT
     
  5. Jon Snow

    Jon Snow Active Member

    917
    188
    43
    Jun 30, 2017
    Ratings:
    +293
    Local Time:
    5:53 PM
    Nginx 1.13.9
    MariaDB 10.1.31
    I highly doubt it. I still have over 150 GB of disk space.

    Code (Text):
                   total        used        free      shared  buff/cache   available
    Mem:            7495        1986        1173         350        4982        5508
    Swap:           4095         259        3836
     
  6. Jon Snow

    Jon Snow Active Member

    917
    188
    43
    Jun 30, 2017
    Ratings:
    +293
    Local Time:
    5:53 PM
    Nginx 1.13.9
    MariaDB 10.1.31
    But as soon as I removed the lines from my first post and reran the upgrade, it worked flawlessly.

    I'll re-add the below when I'm doing another upgrade to see if it works:
    Code (Text):
    PHP_BROTLI='y'
    PHP_LZFOUR='y'
    PHP_LZF='y'
    PHP_ZSTD='y'