Join the community 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

    49,005
    11,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,481
    Local Time:
    6:33 AM
    Nginx 1.21.x
    MariaDB 10.x
  2. pamamolf

    pamamolf Premium Member Premium Member

    3,989
    414
    83
    May 31, 2014
    Ratings:
    +804
    Local Time:
    11:33 PM
    Nginx-1.17.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

    49,005
    11,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,481
    Local Time:
    6:33 AM
    Nginx 1.21.x
    MariaDB 10.x
    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 Premium Member Premium Member

    5,299
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    4:33 AM
    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

    49,005
    11,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,481
    Local Time:
    6:33 AM
    Nginx 1.21.x
    MariaDB 10.x
    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

    3,989
    414
    83
    May 31, 2014
    Ratings:
    +804
    Local Time:
    11:33 PM
    Nginx-1.17.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:
    4:33 PM
    latest
    10
    Is PGO working with php8 yet or is it still on php7?
     
  8. eva2000

    eva2000 Administrator Staff Member

    49,005
    11,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,481
    Local Time:
    6:33 AM
    Nginx 1.21.x
    MariaDB 10.x
    Yes works with PHP 8. Though the above custom index path will be dependent on the PHP app being PHP 8 compatible