Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add PHP_PGO_ALWAYS='n' variable in 123.09beta01
for PHP 7+ installs, setting PHP_PGO='y' will enable Profile Guided Optimizations for 5-25% better PHP performance but it takes longer for PHP to compile so by default PHP_PGO only enables if you have more than 2 cpu threads on server detected. If your server has 1 cpu core, then PHP_PGO is auto disabled even if you try to enable it. But this update adds a variable PHP_PGO_ALWAYS='n' by default which when set to PHP_PGO_ALWAYS='y' in persistent config file /etc/centminmod/custom_config.inc will override and enable PHP_PGO enable when PHP_PGO='y' set for 1 cpu thread servers too. PHP compiles times can be between 60-90% slower on 1 cpu core servers as PHP compile times depend on how many cpu cores and clock speed of those cpu cores. More cpu cores that are high cpu clock speed = faster PHP compile times.
- Loading branch information
1 parent
9979d45
commit b67d33a
Showing
4 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters