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.
The architecture decision
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
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.
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.
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
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.
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 guidanceApplication data is copied across a group of network computers called a subnet. The protocol coordinates accepted updates across those computers.
Explore the security modelResponse certification lets a browser or gateway verify that content matches the application’s certified state. The delivery path must support this verification.
See response certificationApplication logic, access controls, dependencies, upgrades, monitoring and data handling.
Read the security modelIdentify the public pages, business rules, data and integrations behind one service. Compare the proposed architecture against those requirements before deciding how much to move.
Migration takes planning and validation. Keep the existing PHP application and its dependencies maintained while you evaluate and build the replacement.