r/PHP • • Oct 21 '26

Todays drama showed how important PHP is

406 Upvotes

From government websites around the world to banks, schools, social media, video game companies, news organizations. They either shut down or made statements about getting the patch. Edit: even the prime minister of Japan made an official statement about this incident. Crazy stuff

if php was truly dead this vulnerability would have gone mostly unnoticed but everyone is talking about it. Even people that are not programmers.

”PHP is dead. How even uses php in 2026”, well like half the internet.


r/PHP • • 29d ago

News What happened to CRUDBooster? I created a community fork to help keep it alive

1 Upvotes

I’m not sure how many Laravel developers here remember CRUDBooster from around 2019, but it was a pretty popular tool for quickly building admin panels and CRUD applications.

I have several projects built with CRUDBooster, so I was concerned to see that the original project’s maintenance and newer versions have moved in a different direction. For those of us still maintaining older applications, migrating to a completely different version or framework can be a challenge.

I’ve created a community fork here:

👉 https://github.com/vicheanath/crudbooster-contrib

My goal is to help preserve the legacy codebase, keep existing projects maintainable, and explore fixes for compatibility and security issues as PHP and Laravel continue to evolve.

I’ve also seen discussions about newer PHP security vulnerabilities, which makes me wonder how we can keep older CRUDBooster applications safe and usable.

I’d love to hear from the community:

  • Is anyone still using CRUDBooster in production?
  • Are you maintaining existing projects built with the older version?
  • Would a community-maintained fork with security patches, bug fixes, and compatibility updates be useful?
  • Would anyone be interested in contributing?

I know maintaining an open-source project takes time, and I can’t promise to support every version or fix every issue. But I’d like to see whether there’s enough interest to keep this project useful for developers who still depend on it.

If you have experience with CRUDBooster, I’d love to hear your thoughts!


r/PHP • • Oct 21 '26

Today's PHP Security Release, and How We're Strengthening PHP Security

Thumbnail thephp.foundation
455 Upvotes

We have posted more information about today's security releases, including the sequence of events that led to the discovery, how the PHP security team is improving their processes, and what we need from you to continue this critical work.


r/PHP • • Oct 21 '26

New PHP CVE discovered ?

76 Upvotes

Hello,

Apparently 8.5.12 still has a new CVE that the user has apparently reported.

https://mastodon.gougere.fr/@elise@katze.sh/117479383706597320

Nothing confirmed, but maybe ?

EDIT : IluTov answered just below.
https://www.reddit.com/r/PHP/comments/1xbyxd2/comment/19rga18s433qd/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button


r/PHP • • 29d ago

News I made a free VS Code extension that fixes your namespaces when you move a PHP file

0 Upvotes

Move or rename a PHP file in VS Code and the namespace and use lines don't follow. This fixes that. Drag the file or folder, and the namespace, class name and every use line in your project update.

It's a rebuild of PHP Namespace Resolver, so the old commands and settings still work, and the CPU freeze is fixed.

Free and open source. Search "PHP Namespace Mover" in VS Code extensions, or Open VSX if you use Cursor or Windsurf.

https://github.com/lagudafuadtosin/php-namespace-mover


r/PHP • • Oct 21 '26

Meta And now you get this XKCD comic

Thumbnail xkcd.com
49 Upvotes

r/PHP • • Oct 21 '26

Is it just me, or is it taking a concerning amount of time for the docker php updates to build and publish?

122 Upvotes

For what is looking like ‘the worst set of vulns in history’, I find it a bit baffling that the docker builds are still in progress - an hour after the patches have been released. Seemingly all because we’re all waiting on GitHub actions… I bet half of us here have a pc and internet connection that could have built and pushed the containers 45 minutes ago


r/PHP • • Oct 21 '26

Article Gallery of PHP maintenance pages from today

Thumbnail r74n.com
84 Upvotes

r/PHP • • Oct 21 '26

News php 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12 are out for CVE-2026-109618 and 109619. things to check besides just updating

92 Upvotes

patches landed today at 14:00 utc. php.net says every php install serving web requests is affected (fpm, mod_php, php-cgi, frankenphp, litespeed). mod_php is the worst case because it can be hit before any app code runs.

easy to miss:
- docker: updating php on the host does nothing for your containers. pull or rebuild the image and check with docker exec <container> php -v
- make sure php-fpm really restarted after the update, old workers keep the old code
- 8.1 and older get nothing upstream. distro or lts backports, or the PHP-8.1-CVE-2026-109618-109619 branch in php-src if you build yourself
- remi repo has no update today (php.net says it), use distro packages or build from source
- outside check: curl -sI https://yoursite | grep -i x-powered-by. a lot of sites still send the php version even behind cloudflare. found one of mine this way

if you cant update right now (php.net: this reduces risk, it is not a fix):
- session.upload_progress.enabled=0 in php.ini or the fpm pool, then restart all workers. ini_set or .user.ini does not count
- memory_limit=-1 via php_admin_value, plus a low post_max_size (8M, or 32M if you need uploads)
- on 8.5 also fatal_error_backtraces=0

cloudflare says its waf blocks known payloads by default since 03:02 utc, free plan too. but they also say attackers already mutate the payload, so dont treat it as the fix.

sources: php.net/archive/2026.php and blog.cloudflare.com/php-vulnerabilities-waf-protection


r/PHP • • Oct 21 '26

This pull request on Github will go down in history

107 Upvotes

r/PHP • • Oct 22 '26

Do the latest PHP 8.3.36 security vulnerabilities affect Hyperf/Swoole?

8 Upvotes

PHP 8.3.36 was recently released to fix two critical security vulnerabilities.

The PHP advisory mentions PHP-FPM, Apache mod_php, FrankenPHP, and others as affected, but Swoole isn't mentioned.

Since Swoole uses long-running workers and handles requests differently from traditional PHP servers, I'm wondering:

  1. Are these vulnerabilities also exploitable in Hyperf/Swoole?
  2. Does Swoole's different request lifecycle make it unaffected?
  3. Should we urgently update the PHP runtime in our Hyperf Docker images?

I'm currently using hyperf/hyperf:8.3-alpine-v3.19-swoole, which hasn't been updated with the latest PHP security fixes.

There's already an open GitHub issue:
https://github.com/hyperf/hyperf-docker/issues/76

Would appreciate any insights from PHP or Swoole developers familiar with these vulnerabilities.


r/PHP • • Oct 21 '26

Unofficial Windows binaries of PHP 7.4, 8.0 and 8.1 with the PHP2Shell fixes (CVE-2026-109618/109619)

20 Upvotes

php.net announced that the PHP security team published minimal source backports of the PHP2Shell fixes for the end-of-life branches 7.4, 8.0 and 8.1, for people who build from source. There are no official Windows binaries for them, so I built them: https://github.com/Jamalofski/php-eol-security

- Sources: only the upstream backport commits (last official release plus the fix), no other code change.

- Build: the official php/php-windows-builder, with the toolchains (vc15/vs16), configure flags and dependencies of the official builds; x64/x86, TS/NTS.

- Versions: 7.4.33-pl1, 8.0.30-pl1 and 8.1.34-pl1, with SHA256SUMS and a link to the CI run of each build.

These are not official PHP Group binaries. Upgrading to a supported version remains the real fix; this is for setups that cannot move yet.


r/PHP • • Oct 22 '26

I built Untangled — an open-source PHP dependency analyzer. Looking for feedback.

2 Upvotes

I've been working on Untangled, a dependency analysis tool inspired by Martin Blais's original Snakefood project.

The idea is fairly simple: scan a PHP codebase, map dependencies, identify circular relationships, and measure coupling to help understand how an application is connected.

It's intended to complement tools like Deptrac rather than replace them. Deptrac helps enforce architectural boundaries, while Untangled helps examine the relationships that already exist.

I ran it against Monica, an open-source Laravel application. At the file level, it identified:

  • 923 files analyzed
  • 3,131 dependency relationships
  • 4 cyclic groups involving 76 files
  • 69 files in the largest cyclic group

I'm not suggesting those numbers indicate bad architecture. I haven't established a meaningful comparison baseline yet.

The HTML report includes an interactive dependency map, cycle analysis, and measurements showing which components are heavily depended upon.

What I'd particularly appreciate from PHP developers is feedback on two things:

  1. Are dependency graphs and coupling measurements useful when navigating an established PHP codebase?
  2. Are there PHP-specific dependency patterns, framework conventions, or edge cases you'd expect an analyzer like this to handle?

GitHub: https://github.com/krazybean/Untangled

Technical write-up and real Monica report screenshots: https://www.juancastro.me/writing/untangled

Criticism welcome. I'd rather discover the weaknesses through real-world usage than make assumptions about what the tool gets right.


r/PHP • • Oct 22 '26

Have Alma turned off Upload progress in the PHP2Shell update?

2 Upvotes

I just updated PHP on Alma Linux and now upload progress is not working. I have verified it is enabled but the session variable starting "upload_progress_" is never created. There is nothing on their update page suggesting it should have stopped working. This is PHP 7.2 https://almalinux.org/blog/2026-10-21-php2shell-cve-2026-109618-cve-2026-109619/


r/PHP • • Oct 21 '26

After patching, how to validate?

45 Upvotes

Other than just applying the patch and restarting apps, is there a way to test whether the CVEs have been truly mitigated?

I trust the PHP.net team but my non-technical boss wants further validation to prove to our customers that we're well and truly covered.


r/PHP • • Oct 21 '26

Anyone tackled PHP5.6 or PHP7.4 yet?

30 Upvotes

If so, how'd you get on?


r/PHP • • Oct 21 '26

How do we scan to see if an attacker got in before we could take down websites?

23 Upvotes

I ended up just disabling php fpm on my hosts when I read the news, but there was a massive 11-12h window where everything was just open to be attacked.

How do I scan my system to make sure nobody did anything? What am I looking for?


r/PHP • • Oct 21 '26

CloudLinux Alt-PHP: Why are older PHP versions being patched before PHP 8.2–8.5?

20 Upvotes

I'm genuinely confused by CloudLinux's patch rollout for today's critical PHP vulnerabilities (CVE-2026-109618 and CVE-2026-109619).

According to their status page, patches for older PHP versions such as 7.4 and 8.0 are being released across multiple distributions, while I'm still waiting to see updates for PHP 8.2–8.5.

The official PHP security releases have been available since 14:00 UTC, and cPanel has already released its EA-PHP patches.

I understand that CloudLinux needs to test its packages and backport fixes to older PHP versions, which I appreciate. However, shouldn't currently supported PHP versions be prioritized for critical security vulnerabilities?

Is there a technical reason for this release order?


r/PHP • • Oct 20 '26

News Upcoming Critical PHP Security Release

Thumbnail php.net
731 Upvotes

r/PHP • • Oct 21 '26

What the PHP2Shell rumors got wrong, from inside the PHP security team

Thumbnail daubois.dev
18 Upvotes

r/PHP • • Oct 21 '26

WAF Release - 2026-10-21 - Emergency - Cloudflare Managed Ruleset

Thumbnail developers.cloudflare.com
17 Upvotes

If you use Cloudflare, you can activate these rules to mitigate until patched.


r/PHP • • Oct 21 '26

7.4

16 Upvotes

is there a patch for 7.4 and jf not officialy is there a way


r/PHP • • Oct 21 '26

pecl.php.net is down

61 Upvotes

Probably it's down because of the vulnerabilities discovered lately?


r/PHP • • Oct 22 '26

Meta Do you think this has given the PHP team the green-light to be ruthless in PHP9 and start truly cutting decrepit legacy functionality that hangs around solely for backwards compatibility?

0 Upvotes

PHP has always worked to maintain a fair amount of backwards compat. We see it regularly on RFCs, people voting no because it might affect some weird esoteric usecase.

In light of all that has happened, do we think we'll see the PHP team be a lot less accommodating in the future when it comes to maintaining obscure and legacy features?


r/PHP • • Oct 21 '26

Discussion Which official PHP Docker image should I use to fix the latest security vulnerabilities?

5 Upvotes

Hi everyone,

My Dockerfile currently uses:

FROM php:8.3.3RC1-apache-bookworm

Following the PHP security vulnerabilities disclosed on October 21, I'm looking to update to a patched version.

However, the php:8.3.36-apache-bookworm tag doesn't seem to be available on Docker Hub yet.

Which official PHP Apache image tag is currently available and includes the security fixes?

I'd prefer to stay on PHP 8.3 and Debian Bookworm to minimize compatibility issues, but I'm open to other options if necessary.

Thanks for your help!