Skip to content

v1.13.6

Latest

Choose a tag to compare

@dunglas-release dunglas-release released this 19 Nov 17:58
6775138

FrankenPHP 1.13.6 is a bug fix release. It stops PHP system calls such as stream_select() from failing intermittently because of Go's preemption signal, and fixes a crash when workers are restarted during a configuration reload. Its static binaries, Windows binaries and Docker images also ship the PHP security releases published today, which fix vulnerabilities affecting all supported PHP versions, the most severe rated critical by the PHP project. Upgrading is strongly recommended.

🐘 PHP Security Releases

  • Static binaries, Windows binaries and Docker images now embed PHP 8.5.13. Docker images for older branches embed PHP 8.4.28, 8.3.37 and 8.2.36. See the PHP announcement for details. If you compile FrankenPHP yourself or install it from a package repository, update PHP as well.

πŸ› Bug Fixes

  • Keep Go's SIGURG preemption signal off PHP threads: system calls made by PHP, such as stream_select() or Io\Poll\Context::wait(), no longer fail intermittently with EINTR by @nicolas-grekas in #2833.
  • Worker mode: Ignore worker restarts requested while FrankenPHP starts or stops. A POST /frankenphp/workers/restart on the admin API during a configuration reload crashed the process by @nicolas-grekas in #2832.
  • Exit with status 2 when a PHP thread segfaults while FrankenPHP runs as PID 1, as in containers, instead of hanging by @cyppe in #2595.
  • Windows: Log PHP errors at the right level. Fatal errors were logged as warn and warnings as info by @lazerg in #2839.
  • Static builds: Link libstdc++ statically in the GNU binaries again. Their daily rebuilds had failed since November 9, and the binary would have required a newer libstdc++ than most hosts ship by @dunglas in #2848.
  • Extensions: Compile extensions generated by frankenphp extension-init with GCC 14 and later by @nicolas-grekas in #2834.
  • Docker: Build images from the PHP 8.6 base images, which no longer have a zts variant, ahead of PHP 8.6 images by @dunglas in #2859.
  • Build against PHP 8.7 (php-src master) by @dunglas in #2816.
  • Build against non-ZTS PHP by @dunglas in #2819.

⚑ Performance Improvements

  • Pass the original request URI as a string instead of copying the whole request: 1.2% fewer userland instructions per request by @henderkes in #2813.
  • Skip an unused replacer lookup by @henderkes in #2820.
  • Keep the request option slice on the stack by @henderkes in #2821.

πŸ“– Documentation

  • Warn that max_execution_time counts wall time, while PHP-FPM on Linux counts CPU time by @nicolas-grekas in #2846.
  • Explain the daily rebuilds of release binaries, how to verify them and how to pin a version by @dunglas in #2784.
  • putenv() writes persist across requests handled by the same worker thread by @dunglas in #2783.
  • str_shuffle() also continues the seeded PRNG sequence in worker mode by @sucloudflare in #2825.
  • Worker threads come on top of num_threads by @nicolas-grekas in #2787.
  • Fix the pre-compressed assets example of the Symfony page by @dunglas in #2855.
  • Add the French Symfony page and sync the French worker docs by @KevinMartinsDev in #2693.
  • Link the Yii3 page from the documentation menu by @vjik in #2652.
  • Update translations in #2807, #2854, #2857 and #2858.

πŸ™ Sponsor the Maintainers

Shipping an upstream PHP security fix the same day means tracking the PHP, Docker and Windows releases, then rebuilding and checking dozens of images and binaries, on top of the steady flow of AI-found vulnerability reports we triage. Thank you to our sponsors, who make this work possible!

If you or your company rely on FrankenPHP, please consider sponsoring its maintainers:

πŸ’– New Contributors

Full Changelog: v1.13.5...v1.13.6