Unsupported PHP and Compliance: What PCI DSS, India's DPDP Act and Gulf Data Laws Expect

Arjun P

Solution Architect

14 Nov 20267 min read

Unsupported PHP and Compliance: What PCI DSS, India's DPDP Act and Gulf Data Laws Expect

No data-protection law bans old software by name. But PCI DSS expects a plan for end-of-life technology, and India's DPDP Act and the UAE and Saudi laws expect security safeguards that are hard to demonstrate on software that no longer gets security fixes.

"Is it actually illegal to run an old version of PHP?"

It's a fair question from any business owner, and the honest answer is: almost never in those words. None of the laws covered here names a programming language or bans unsupported software outright. What they do is require you to protect data with safeguards that are "reasonable", "appropriate" or in line with "best international practices". When something goes wrong, someone will ask whether running software that no longer receives security fixes met that standard.

For businesses that take card payments or handle personal data in India, the UAE or Saudi Arabia, that question is becoming harder to avoid. This Article sets out, in plain terms, what the main texts expect and why ageing PHP applications make those expectations harder to meet.

This is not legal advice. It's a plain reading of public texts as of 23 October 2026. Talk to your lawyer, Data Protection Officer or PCI assessor about how these rules apply to you.

When the software stops getting fixes, "we keep it patched" stops being true

Most security standards assume that when a flaw is found, the supplier publishes a fix and you apply it.

PHP is released in versions, and each version is supported for a fixed period. Once a version reaches its "end of life", the PHP project stops publishing security fixes for it. According to php.net, PHP 5.6 reached end of life on 31 December 2018, PHP 7.4 on 28 November 2022 and PHP 8.1 on 31 December 2025. PHP 8.2 stops receiving security fixes on 31 December 2026. The same thing happens to plugins, themes and frameworks when their developers move on.

From that point, any newly discovered weakness in that version stays open. You can no longer say "we apply the supplier's fixes promptly", because there are no fixes to apply. The laws and standards below don't forbid that situation, but each of them asks a question that becomes difficult to answer well.

PCI DSS, the card-industry security standard that applies through your contracts with banks and payment providers, is the most direct. Version 4.0.1 is the current version, and the PCI Security Standards Council says it has "no additional or deleted requirements" compared with 4.0. Requirement 12.3.4, mandatory since 31 March 2025, expects a review of your hardware and software at least once every 12 months, including "analysis that the technologies continue to receive security fixes from vendors promptly", and "a plan, approved by senior management, to remediate outdated technologies, including those for which vendors have announced 'end of life' plans". It doesn't ban end-of-life PHP. It does expect you to know you're running it, and to have a plan that your leadership has signed off.

India's Digital Personal Data Protection Act, 2023 requires organisations to protect personal data "by taking reasonable security safeguards to prevent personal data breach", and to notify the Data Protection Board and affected people of a breach. The penalties go up to Rs 250 crore for failing to take reasonable safeguards and up to Rs 200 crore for failing to notify. The DPDP Rules 2025 list what those safeguards must include at a minimum, such as access control, monitoring to detect unauthorised access, backups and keeping logs for a year. Under the notifications dated 13 November 2025, these duties come into force in May 2027. There have been reports of a proposal to bring this forward; as of 23 October 2026, we haven't found an amendment in the Gazette, so check the current position with your adviser. Until then, the Information Technology Act already makes companies handling sensitive personal data liable to pay compensation if they are negligent about "reasonable security practices and procedures", and CERT-In's 2022 directions require many organisations to report listed cyber incidents, including website intrusions and data breaches, "within 6 hours of noticing such incidents".

The UAE's Personal Data Protection Law asks for measures that ensure "the highest standard of information security" suitable for the risks, "in accordance with the best international practices and standards". It doesn't apply to free-zone companies with their own data-protection legislation, or to health and banking data covered by their own laws. As of 23 October 2026, reports conflict on whether its Executive Regulations have been issued, and we couldn't confirm it from an official source.

Saudi Arabia's Personal Data Protection Law requires "all the necessary organizational, administrative and technical measures to protect Personal Data", and notification of breaches to the competent authority.

What could go wrong for your business

The risk here is not that an inspector arrives because your website runs an old version. It is what happens after something else goes wrong.

If personal or card data is exposed, the questions come with hindsight. Were your safeguards "reasonable"? Did your technologies "continue to receive security fixes"? Where was the approved plan? An organisation that knowingly ran unsupported software, with no documented plan, will find those questions uncomfortable to answer. "Upgrading was expensive" is an explanation. It isn't a safeguard.

The potential consequences include regulatory penalties where the laws apply, problems in a PCI assessment, compensation claims, the cost of investigating and reporting a breach to tight deadlines, and lost customer trust. These are possibilities, not certainties.

Could your website be next?

Compliance questions are usually triggered by an incident, and incidents rarely depend on how well known a business is. Attackers commonly use automated tools that scan large numbers of websites for known weaknesses. Software that no longer receives security fixes is exactly where known weaknesses stay open, so an ageing site can be found simply because it is online and reachable.

Being a small or regional business doesn't remove you from the scope of these rules either. The DPDP Act, the UAE and Saudi laws and PCI DSS are framed around the data you handle and the payments you take, not your size or profile.

And a clean record so far doesn't settle the question. Having had no incident doesn't show that your safeguards were reasonable; it only means they haven't yet been tested. None of this means every legacy site will be breached or fined. It means the exposure is real, and best understood before anyone asks.

Why legacy PHP applications deserve attention

Current, well-maintained PHP can meet these expectations perfectly well. The difficulty lies with applications that have been left to age: an unsupported PHP version, plugins nobody updates, a framework whose developers have moved on, and hosting set up years ago.

Those systems make the newer duties harder too. Logging, monitoring and fast breach reporting depend on knowing what is running and being able to change it, and an old application on shared hosting often offers neither. Each year of postponed upgrades makes the eventual move larger and more expensive.

That is why modernisation belongs in the compliance conversation. It isn't only a technology decision. It is part of how you show that your safeguards are reasonable.

What this means for your organisation

The practical starting point is knowledge. Do you know which PHP version each of your systems runs, which plugins and frameworks they depend on, and whether each still receives security fixes? PCI DSS expects exactly that inventory, and it is useful evidence whichever law applies to you.

If the honest answer is "we're not sure", that is the gap to close first, before an audit or an incident forces the issue. Knowing the real condition of your application is also the basis for deciding whether to upgrade or plan a move to a different platform.

Recommended next step

Don't wait for an assessor or a regulator to ask whether your systems still receive security fixes. Our free Legacy PHP assessment looks at the software versions, dependencies and hosting you rely on, and shows where they may leave you exposed against the expectations described above.

Then talk to our team about what you find. Depending on your application, its architecture and your business goals, the right path might be upgrading in place or migrating, step by step, to the modern Node.js stack. Node.js has its own end-of-life dates and needs the same discipline, so it is not a compliance guarantee. What we aim for is a system where staying on supported versions is routine work, not a crisis project, and where you can show a clear plan to anyone who asks.

Free Legacy PHP Risk Assessment

Not sure how your PHP systems would look to an assessor or a regulator? We'll review your PHP version, hosting setup and dependencies against the questions above, and tell you plainly where you're exposed and what your options are, whether that's a patch, an upgrade or a migration. Email us to request a free Legacy PHP Risk Assessment

Build with us. Deploy with us. Win with us

We don't deliver projects and walk away. We build with you, inside your mission.

Book a strategic consultation