FrankenPHP 1.13.6 Ships PHP 8.5.13 Security Builds and Fixes stream_select() EINTR Failures and a Worker Restart Crash
FrankenPHP 1.13.6 embeds the November 19 PHP security releases in its official binaries and Docker images, and fixes intermittent EINTR failures in PHP system calls and a crash on worker restarts during config reloads. Self-built and package installs still need their own PHP update.
FrankenPHP 1.13.6 was published on November 19, 2026 (UTC), the same day the PHP project shipped its critical security releases. The FrankenPHP team describes it as a bug-fix release, but it matters for security too: the official static binaries, Windows binaries and Docker images now embed the patched PHP builds, and the project says upgrading is strongly recommended.
Patched PHP inside the official builds
- Static and Windows binaries, and the default 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.
These are the November 19 PHP releases that fix vulnerabilities across all supported branches, the most severe rated critical by the PHP project.
There is an important caveat in the release notes: if you compile FrankenPHP yourself or install it from a package repository, upgrading FrankenPHP alone does not patch PHP. You also need to update the PHP build it links against.
Bug fixes worth knowing about
- Intermittent
EINTRfailures: Go'sSIGURGpreemption signal could reach PHP threads, so system calls made by PHP, such asstream_select()or PHP 8.6'sIo\Poll\Context::wait(), sometimes failed withEINTR. The signal is now kept off PHP threads (#2833). - Worker restart crash: a
POST /frankenphp/workers/restarton the admin API during a configuration reload crashed the process. Restart requests made while FrankenPHP is starting or stopping are now ignored (#2832). - Containers: when FrankenPHP runs as PID 1 and a PHP thread segfaults, it now exits with status 2 instead of hanging (#2595). Orchestrators can then restart the container.
- Windows: PHP errors are logged at the right level. Before this, fatal errors were logged as
warnand warnings asinfo(#2839). - Static GNU builds: libstdc++ is linked statically again. The daily rebuilds had been failing since November 9 (#2848).
- Extensions generated with
frankenphp extension-initnow compile with GCC 14 and later (#2834).
The release also prepares for what comes next. Docker images now build from the PHP 8.6 base images, which no longer have a zts variant, and FrankenPHP can build against php-src master (PHP 8.7) and against non-ZTS PHP.
Performance and documentation
Passing the original request URI as a string, instead of copying the whole request, saves about 1.2% of userland instructions per request. Two smaller allocation tweaks come with it. The new documentation notes are useful if you move from PHP-FPM:
max_execution_timecounts wall time under FrankenPHP, while PHP-FPM on Linux counts CPU time.putenv()writes persist across requests handled by the same worker thread.str_shuffle()continues the seeded PRNG sequence in worker mode.- Worker threads come on top of
num_threads.
What to do
- If you use the official Docker images or static binaries, pull or download 1.13.6 and redeploy. Pin the version explicitly if you rely on reproducible builds.
- If you build FrankenPHP yourself or install it from distro packages, update PHP to 8.5.13, 8.4.28, 8.3.37 or 8.2.36 as well, then rebuild and restart.
- If you are still on a release older than 1.13.5, note that 1.13.5 (November 5) fixed 17 FrankenPHP advisories of its own, so 1.13.6 brings in both sets of fixes.
Source: FrankenPHP v1.13.6 release notes
Moving an older PHP application to FrankenPHP or worker mode, or stuck on a PHP branch that the official images no longer cover? RescuePHP can help with upgrades, security patching and backports for legacy PHP stacks.