The architecture decision

Change the foundation. Keep control.

Rebuilding selected services in Motoko removes the PHP runtime from those services. Understand the operating model, the work involved and the responsibilities your team keeps.

Why move now

AI changed the patch cycle.

  1. 01 / Today

    PHP runs the services people rely on.

    About 70% of websites with a known server-side language use PHP. A typical self-hosted deployment also depends on a web server, database, operating system and application dependencies, each with its own update cycle.

  2. 02 / What changed

    AI-assisted discovery adds to the patching workload.

    FIRST expects a record of about 66,000 vulnerability disclosures in 2026, driven partly by AI-assisted discovery, and tells maintainers to plan for twice the patching work. PHP2Shell itself was found with AI. On 21 October, governments took services offline while they patched.

  3. 03 / The move

    Keep the service. Remove the layers you patch.

    Rebuild selected services in Motoko on the Internet Computer. Rebuilt features no longer need the PHP runtime or the servers it depended on. Plan the replacement for each plugin feature, map old addresses and reconcile the data and files before cutover.

What remains: the network upgrades its own software, and your Motoko code still needs care. What goes away is the stack your team patches itself.

The Internet Computer

What changes in the operating model.

Patching keeps the PHP runtime in place. Rebuilding selected services in Motoko retires it from those services. The Internet Computer (ICP) runs the rebuilt application and stores the data you choose to move.

01 / Runtime

Remove the PHP engine.

Rebuilt features run without the PHP engine and its extensions. PHP components retained during the transition still need security updates, dependency review and monitoring.

Read PHP’s update guidance
02 / State

Replicate application data.

Application data is copied across a group of network computers called a subnet. The protocol coordinates accepted updates across those computers.

Explore the security model
03 / Delivery

Verify what is served.

Response certification lets a browser or gateway verify that content matches the application’s certified state. The delivery path must support this verification.

See response certification
Your team owns

Application logic, access controls, dependencies, upgrades, monitoring and data handling.

Read the security model

Start with the service you need to preserve.

Identify the public pages, business rules, data and integrations behind one service. Compare the proposed architecture against those requirements before deciding how much to move.

Patch the current deployment first.

Migration takes planning and validation. Keep the existing PHP application and its dependencies maintained while you evaluate and build the replacement.