Talk to an engineer

Legacy PHP patient portals and the HIPAA Security Rule

Unsupported runtimes surface in almost every HIPAA risk analysis. How to treat the finding honestly, protect patients during the fix, and keep PHI out of the upgrade.

SeaPHP engineering · October 8, 2026

Patient portals, appointment scheduling and the integration code that connects them to clinical systems are often written in PHP, and often older than anyone on the current team. When a risk analysis under the HIPAA Security Rule asks about software support, these are the systems that end up on the list.

This article is practical guidance, not legal advice. Your privacy and security officers decide how the rule applies to you.

Why the runtime matters to the Security Rule

The Security Rule requires covered entities and business associates to conduct an accurate and thorough risk analysis, and to implement measures that reduce risks to a reasonable and appropriate level. An application handling electronic protected health information on a PHP version that no longer receives security fixes is a risk with an obvious description: every vulnerability disclosed from now on stays open.

The rule does not name PHP, or any technology. It asks whether the risk was identified and whether reasonable measures address it. That is good news, because it leaves room for a plan instead of an emergency.

Reasonable measures, in order

  1. Know what you run. An inventory of every PHP runtime touching ePHI, with versions and support status.
  2. Close the gap. Either upgrade, or put end-of-life versions under long-term support so security fixes keep arriving. Document which.
  3. Plan the durable fix. Upgrade or migration, with dates, an owner and a budget, recorded in the risk management plan.
  4. Keep the evidence. Patch history, change records and test results for every step.

Protecting patients during the fix

Clinical systems are not ordinary web applications. A scheduling outage on a Monday morning has consequences beyond lost revenue. Changes to patient-facing systems should:

  • Ship in small, reversible steps, never as a single cutover
  • Be scheduled with clinical operations, not around them
  • Include tests on every integration point, including HL7 and FHIR interfaces, before each release
  • Have a rollback that has been rehearsed

Security backports that do not change behavior are useful here: the runtime is patched without altering how the application or its interfaces work.

Keeping PHI out of the upgrade

An upgrade project should not become a new route for PHI to leave the organization. The safest pattern keeps engineers away from real patient data entirely:

  • Test against de-identified or synthetic data
  • Reproduce production issues with scrubbed records
  • Work inside the organization's environment and access model

Where an engagement genuinely requires access to ePHI, the terms, including any business associate agreement, should be settled before work starts, not during.

HITRUST and other frameworks

Organizations that certify against HITRUST CSF, or answer security questionnaires from health plans and partners, will find the same evidence reused: the inventory, the patch log and the change records. Building them once, properly, pays for itself the next time a questionnaire arrives.

Find out what your PHP estate needs

Tell us which versions you run and where. An engineer replies within one business day.