Join the community today
Become a Member

Beta Branch PHP 8.x PGO training script update in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 5, 2021.

  1. eva2000

    eva2000 Administrator Staff Member

    54,901
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    12:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  2. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    10:18 PM
    Mainline
    10.2
    Seems PGO isn't compatible with 8.1.x anymore, so many deprecated errors.
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,901
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    12:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Thanks for the heads up! Will check it out :)

    Edit: looks like Intel deprecated the project GitHub - intel/php_pgo_training_scripts

    So will need someone with PHP know-how to update my forked version for PHP 8.1 compatibility GitHub - centminmod/php_pgo_training_scripts - unfortunately I don't have the PHP skills heh

    edit: someone's also fixed it for PHP 8.1 /root/centminlogs/debug-menuexit.txt yay! Will add those updates :)
     
    Last edited: Aug 25, 2022
  4. eva2000

    eva2000 Administrator Staff Member

    54,901
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    12:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @rdan updated my forked Intel PGO training scripts with the patch fix for PHP 8.1 compatibility Commits · centminmod/php_pgo_training_scripts :)

    looks to be working
    and during PHP 8.1.9 compile run with PHP_PGO='y' enabled
    Code (Text):
    From https://github.com/centminmod/php_pgo_training_scripts
       e880fed..8fc9dd0  cmm        -> origin/cmm
    Updating e880fed..8fc9dd0
    Fast-forward
     init.php | 1 +
     1 file changed, 1 insertion(+)
    /svr-setup/php-8.1.9/fpm-build /usr/local/src/centminmod
    
                    -=- init Database(s) -=-
    Database pgo_train succesfully dropped
    Database pgo_train created succesfully
    Created tables in pgo_train
    
    
     
    Last edited: Aug 25, 2022