Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch update inc/php_upgrade.inc add PHPPGO_INDEXPATH variable support in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 1, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    5:06 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  2. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    9:06 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    If we don't have index path set we don't get any optimizations?
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    5:06 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    No PHP_PGO='y' has optimisation for wordpress, drupal, mediawiki php code paths but they'r generic PHP code paths. So roughly 3-10% better PHP 7+. But if you want to do PGO training for specific PHP scripts like wordpress, xenforo etc, you would need to define a PHPPGO_INDEXPATH to the PHP web app's index.php page so further advanced PGO training is done like in Wordpress PGO training benchmarks at PHP - PHP 7.3 vs 7.2 vs 7.1 vs 7.0 (PHP-FPM) Benchmarks. Such PGO training could have better PHP 7+ performance in 5-40% range.
     
  4. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    3:06 PM
    Mainline
    10.2
    Problem with XF 2.1, it will just produce errors when directly calling public/index.php.
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    5:06 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah not entire sure if PGO training still works with the errors from Xenforo if not then that's why I posted this on XF forum for request for help from PHP coders PHP coding help to boost Xenforo PHP Performance Via PGO training so if you know PHP code and Xenforo :)
     
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    9:06 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Will need to test it for Invision forums...
     
  7. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    2:06 AM
    latest
    10
    Is PGO working with php8 yet or is it still on php7?
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    5:06 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yes works with PHP 8. Though the above custom index path will be dependent on the PHP app being PHP 8 compatible