7 days, 7am to 7pm

PHP Vulnerabilities: What Small Business Owners in Northern Virginia Should Check Before PHP 8.2 Loses Support

Where PHP runs in your business, which flaws attackers use today, and a short check you can run this week.

Cybersecurity · By DistrictConnects Engineering Team · · 7 min read

PHP is the programming language behind most of the websites on the internet, including almost every WordPress site, and it often runs on the office servers and appliances nobody has looked at in years.

On December 31, 2026, PHP 8.2 stops receiving security fixes, which leaves only 8.3, 8.4 and 8.5 supported. If your website, client portal or an old internal tool still runs 8.2 or anything older, every new flaw found in it after that date stays open.

  • 69.3%Of websites with a known server language run PHP (W3Techs, October 2026)
  • 34.5%Of PHP sites still run PHP 7 or 5, both long out of support (W3Techs)
  • Dec 31, 2026PHP 8.2 receives its last security fixes (php.net)

Where PHP Runs in a Small Business

Most owners never chose PHP. It arrived with the website, the booking plugin, or a tool a past vendor installed on a server in the closet. That is why it goes unpatched: nobody remembers it is there.

Common places PHP hides

  • The company website

    WordPress, Drupal, Joomla and most small business site builders run on PHP, on shared hosting or a VPS.

  • Client and patient portals

    Upload portals, intake forms and invoice pages are often small PHP apps a developer built once and never revisited.

  • Internal tools on a Windows server

    Quick installs such as XAMPP put Apache and PHP on a Windows machine for a time clock, inventory list or wiki.

  • Leftover developer files

    Old staging copies, backup folders and test scripts left on the live server keep running long after anyone uses them.

Why Unsupported PHP Versions Are the First Risk

The PHP project gives each version two years of bug fixes and two more years of security fixes only. After that the version is end of life: when someone finds a hole in it, no fix is coming.

PHP version Security fixes until Status in October 2026
8.5 December 31, 2029 Supported
8.4 December 31, 2028 Supported
8.3 December 31, 2027 Supported
8.2 December 31, 2026 Last two months of fixes
8.1 Ended December 31, 2025 End of life
8.0 and older (7.x, 5.x) Ended between 2018 and 2023 End of life

The usage numbers show how often this gets missed. W3Techs counts 26.8% of PHP sites on version 7 and 7.7% still on version 5, a release that lost support at the end of 2018. Many of those sites also run plugins that stopped receiving updates when their PHP version did.

The date to plan around

If anything you own runs PHP 8.2, schedule the move to 8.4 or 8.5 now. Testing and fixing plugins takes longer than the upgrade itself, and December is a hard month to find time.

The PHP Flaws Attackers Are Using Right Now

CISA keeps a catalog of vulnerabilities with confirmed attacks in the wild, the Known Exploited Vulnerabilities list. As of October 2026 it holds eight entries tied to PHP or common PHP software. Three show how small businesses get caught:

  • CVE-2024-4577, PHP on Windows. A flaw in how PHP-CGI reads its command line on Windows lets an attacker run their own code on the server. It scores 9.8 out of 10, attacks started within a day of disclosure, and CISA marks it as used in ransomware campaigns. Researchers reported that default XAMPP for Windows installs were exposed on systems set to Chinese or Japanese language settings. PHP fixed it in 8.1.29, 8.2.20 and 8.3.8 in June 2024; servers that never got those updates are still open.
  • CVE-2017-9841, PHPUnit. A testing tool that ships with many PHP projects contains a file that runs whatever code it receives. It is only dangerous when developers upload their whole project folder, test tools included, to the live web server. That still happens, and scanners look for it constantly.
  • CVE-2016-10033, PHPMailer. A flaw in a popular library for sending email from contact forms. It was patched in 2016, yet CISA added it to the exploited list in July 2025, nine years later, because old copies are still online and still being attacked.

None of these needed a clever attacker. They needed an old version that nobody updated.

WordPress Plugins: Where Most New PHP Bugs Land

For most businesses, PHP risk really means WordPress risk, and WordPress risk mostly means plugins. Patchstack’s State of WordPress Security in 2026 report counted 11,334 new vulnerabilities in the WordPress ecosystem during 2025, up 42% from the year before.

  • 91%Of new WordPress vulnerabilities were in plugins; WordPress core had 6 (Patchstack)
  • 46%Were not fixed by the developer in time for public disclosure (Patchstack)
  • 5 hoursWeighted median time to first exploit for heavily exploited flaws (Patchstack)

Five hours means a weekly “I will check the updates on Friday” routine is already too slow for the worst flaws. Automatic updates for plugins you trust, plus removing the ones you do not use, matter more than any single security plugin.

Common Weak Spots in PHP Code

Custom PHP, such as a portal or form a developer built for you, has its own risks that no update can fix. The OWASP Top 10:2025, the standard list of web application risks, names the patterns to ask your developer about:

What to ask your developer about

  • Broken access control

    Can a logged-in client change a number in the address bar and see another client's file? This is OWASP's top risk for 2025.

  • Security misconfiguration

    Error messages that show file paths, open directory listings and leftover phpinfo pages all hand attackers a map.

  • Supply chain failures

    Libraries pulled in through Composer, like PHPMailer, need updates too. Ask when they were last updated.

  • Injection

    Database queries built by pasting in form input, instead of prepared statements, lead to SQL injection.

  • Authentication failures

    Admin logins with no lockout, no multifactor option and passwords stored with old hashing such as MD5.

  • Logging and alerting failures

    If someone tried a thousand passwords last night, would anyone know? Most small sites keep no useful logs.

How to Check Your PHP Exposure

You do not need to read code to start. These steps tell you where you stand and who needs to act.

Check your PHP exposure

  1. List everything that runs PHP

    Website, staging copies, client portals, intranet tools and any Windows server with XAMPP or a similar bundle. Ask your web developer and hosting company to add what you missed.

  2. Write down the PHP version of each

    Use WordPress Site Health, the hosting control panel or php -v on the server. Anything below 8.2 is end of life today; 8.2 joins it on December 31, 2026.

  3. Remove what nobody uses

    Delete inactive plugins and themes, old staging sites, backup folders and developer tools such as PHPUnit from live servers. Unused code is attack surface with no benefit.

  4. Upgrade on a copy first

    Clone the site to staging, move it to PHP 8.4 or 8.5, test forms, checkout and logins, then take a backup and switch the live site.

  5. Close the doors around it

    Make sure office servers running PHP are not reachable from the internet unless they must be, admin logins use multifactor, and backups are stored off the server and tested.

  6. Put a name on each item

    Every system on the list gets an owner and a review date, so the next end-of-life deadline is a calendar entry instead of a surprise.

Who Fixes What

PHP problems fall between three parties, and each one assumes another handles it. Settle it in writing:

  • Your web developer owns the site code, plugins, themes and Composer libraries, and the testing when PHP is upgraded.
  • Your hosting company owns the server software on managed plans. On shared hosting you may still need to pick the version yourself.
  • Your IT provider owns the office servers, firewall rules, remote access, multifactor login and backups, and the inventory that shows where PHP runs in the first place.

The short version

Find every place PHP runs, get it onto 8.4 or 8.5 before December 31, 2026, remove what nobody uses, and give each system a named owner.

Sources: PHP supported versions and end-of-life branches (php.net); Usage statistics of PHP (W3Techs, October 2026); Known Exploited Vulnerabilities catalog (CISA); CVE-2024-4577 (NIST NVD) and AttackerKB analysis; State of WordPress Security in 2026 (Patchstack); OWASP Top 10:2025 (OWASP).

Where we do this work

DistrictConnects checks websites, hosting accounts, office servers and firewalls for unsupported PHP from its Herndon base, for businesses across Northern Virginia and in Washington DC.

Related services

Common questions

Can DistrictConnects check PHP on our website and servers in Northern Virginia or DC?

Yes. DistrictConnects works from Herndon, VA, and checks websites, hosting accounts, office servers and firewalls for unsupported PHP and exposed tools for businesses across Northern Virginia and Washington DC. Website and hosting checks run remotely, and servers in the office can be reviewed on site. You get a list of everything that runs PHP, its version and what to fix first.

How do I find out which PHP version my website uses?

On WordPress, go to Tools, then Site Health, then Info, and open the Server section; it lists the PHP version. On most hosting plans the control panel shows it under PHP settings or PHP version manager. For an in-house server, ask whoever manages it to run php -v. Do not leave a phpinfo() page on a public site to find out, because it shows attackers the same details.

Which PHP versions are still supported?

As of October 2026, the PHP project supports 8.2, 8.3, 8.4 and 8.5. PHP 8.2 gets security fixes only until December 31, 2026. PHP 8.3 is supported until the end of 2027, 8.4 until the end of 2028 and 8.5 until the end of 2029. Versions 8.1, 8.0 and every 7.x and 5.x release are end of life and receive no fixes from the PHP project.

Is upgrading PHP risky for my website?

It can break old plugins, themes or custom code that rely on removed features, which is why the upgrade belongs on a copy of the site first. Test the staging copy on the new version, fix or replace whatever breaks, take a fresh backup, then switch the live site. Staying on an unsupported version is the larger risk, because its flaws are never patched.

Does my hosting company keep PHP updated for me?

On managed WordPress hosting, often yes, within limits. On shared hosting you usually pick the PHP version yourself in the control panel, and many sites stay on whatever was set years ago. On a VPS or your own server, nobody updates PHP unless someone is assigned to. Check your plan and write down who owns it.

Is a web application firewall enough to protect an old PHP site?

No. A web application firewall blocks many known attack patterns and buys time, but it cannot fix the flaw in the code, and attackers test new ways around its rules. Use it as one layer next to a supported PHP version, updated plugins, removed unused code and tested backups.

More guides