| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
# Conflicts: # php-83/Dockerfile # tests/test_2_extensions.php # utils/lib-copy/libs-arm.txt # utils/lib-copy/libs-x86.txt
* Refactor to a single layer * Fix * Fixes * Finish merging php.ini files * Update the PHP 8.2 and 8.3 build scripts too
# Conflicts: # layers/fpm-dev/Dockerfile # php-83/Dockerfile
* Optimize layer sizes The goal is to reduce layer sizes to optimize cold starts (that's the theory at least). - `strip` debug symbols for all libraries and PHP extensions (saves 11.7%) - compile PHP with the `-Os` C/CPP flag to optimize the binary for size (saves 8%) - compile libraries with the `-Os` flag (saves 6.3%) - disable the `soap` extension by default to avoid loading it on PHP startup (the only big unpopular extension I could find) - bundle the `pdo-mysql` extension in the PHP binary: it is extra small and will avoid loading it through an external file (small optimization) In total that's a 24% size reduction, i.e. 14.6MB. This is for Bref v3, I will run some benchmarks as just measuring the layer size doesn't tell us the full story about cold starts. * Fix tests
# Conflicts: # layers/fpm-dev/Dockerfile # php-80/Dockerfile # php-81/Dockerfile
# Conflicts: # Makefile # php-80/Dockerfile # php-81/Dockerfile
…this value by default
# Conflicts: # php-83/Dockerfile
That will help know which versions are installed in Bref, and decide which ones to compile or not.
Upgrade PHP AL2023
Add the Redis extension
PHP 8.3.26, 8.4.13 and 8.5.0RC1
update compatible-runtimes for v3
Upgrade versions in v3
Always log errors to stderr
Increase PHP-FPM log limit
[3.x] Bump to latest PHP versions
Upgrade PHP versions (v3)
# Conflicts: # .github/workflows/tests.yml # layers/fpm-dev/Dockerfile # php-80/Dockerfile # php-81/Dockerfile # php-82/Dockerfile # php-83/Dockerfile # php-84/Dockerfile # src/opcache.ini # src/php-85.ini # src/php.ini
| Back | FazBrowse Home | New Git URL |
This PR will contain all changes for Bref v3.
This PR goes hand-in-hand with brefphp/bref#1953
This will be a long-running PR, I like to keep this open for months so that we have a place to preview and discuss changes. I do not intend to merge this pull request soon.
Layers for v3 are published to a different AWS account than v2, to avoid conflict. That means we can start using v3 layers as soon as these are published (working on it).
Changes:
Layer sizes
PHP 8.4
PHP 8.3