---
title: "Plain PHP sites moved safely onto a supported PHP release"
description: "An old custom PHP site keeps its own PHP version on In a Box while the assistant finds what a newer release would break and repairs it on a dev copy."
url: https://in-a-box.online/webdev/sites/php/
---
1.  [In a Box](https://in-a-box.online/)
2.  [Kits](https://in-a-box.online/kits/)
3.  [WebDev (in a box)](https://in-a-box.online/webdev/)
4.  [Site stacks](https://in-a-box.online/webdev/sites/)
5.  [Plain PHP](https://in-a-box.online/webdev/sites/php/)

# Old PHP code, brought onto a PHP that still gets fixes.

Custom PHP code often outlives the PHP release it was built on. In a Box keeps such a site running as it is, then works out what it takes to move it forward.

![The Plain PHP logo on a dark Karkinos background.](https://in-a-box.online/img/stack-php.webp)

## The end of life dates

PHP 8.1 ran out of support on 31 December 2025. For PHP 8.2, security patches stop at the end of 2026. PHP 8.4 is covered to the end of 2028 and 8.5 to the end of 2029. Each branch has four years in total, two active and two for security only.

## Each site on the release it was written for

Our test ran PHP 8.4 alongside 8.1, 8.2 and 8.3 on one machine. A site keeps the version it needs and an FPM pool to itself, so an older one carries on while the others move up. There is no build step, and the assistant works on a copy of your database.

## Showing what a newer PHP would break

-   `php -l` for syntax
-   PHPCompatibility through `phpcs`, set to the target version
-   PHPStan for deeper analysis

Repairs happen on the dev copy, and each page is compared with how it looked beforehand. The assistant also looks for injection risks and input that is trusted when it should not be. Releases go into a folder of their own with rollback.

MORE IN SITE STACKS

-   [Site stacks: the overview](https://in-a-box.online/webdev/sites/)
-   [Astro](https://in-a-box.online/webdev/sites/astro/)
-   [Craft CMS](https://in-a-box.online/webdev/sites/craft/)
-   [Django](https://in-a-box.online/webdev/sites/django/)
-   [Drupal](https://in-a-box.online/webdev/sites/drupal/)
-   [Flask](https://in-a-box.online/webdev/sites/flask/)
-   [Joomla](https://in-a-box.online/webdev/sites/joomla/)
-   [Laravel](https://in-a-box.online/webdev/sites/laravel/)
-   [Next.js](https://in-a-box.online/webdev/sites/nextjs/)
-   [Plain HTML](https://in-a-box.online/webdev/sites/plain-html/)
-   [Statamic](https://in-a-box.online/webdev/sites/statamic/)
-   [WordPress](https://in-a-box.online/webdev/sites/wordpress/)

## Run for you in the cloud, from £250 a month.

[See the plans](https://in-a-box.online/pricing/#plans)[Get in touch](https://in-a-box.online/contact/)
