# Migrating OwnCloud to NextCloud - PHP Version Issue

**URL:** <https://help.nextcloud.com/t/migrating-owncloud-to-nextcloud-php-version-issue/181483>\
**Category:** ℹ️ Support\
**Tags:** update\_problems, owncloud, missing\_information\
**Created:** [February 11, 2024, 3:07am UTC](https://help.nextcloud.com/t/migrating-owncloud-to-nextcloud-php-version-issue/181483 "2024-02-11T03:07:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ernolf](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ernolf/32/77874_2.png) [@ernolf](https://help.nextcloud.com/u/ernolf)\
**Post date:** [February 11, 2024, 11:24am UTC](https://help.nextcloud.com/t/migrating-owncloud-to-nextcloud-php-version-issue/181483/2 "2024-02-11T11:24:03Z")

</div>

> [@Jeff\_Mikolai](#):
>
> I am getting this error:
> 
> This version of Nextcloud is not compatible with \> PHP 7.2.  
> You are currently running 8.1.27.

Your post is missing essential information:

- which operating system
- which web server
- if Apache2, which php SAPI
- from Owncloud version
- to Nextcloud version

Broadly speaking, this are the steps:

- install the required php (7.2)
- connect the web server to the new php
- continue migration and update.

The new (old 7.2) php can then simply be removed again after Nextcloud has been updated to new versions that no longer require that version.

If you are on an Ubuntu or Debian system, you can use [→ the php-updater script ←](https://help.nextcloud.com/t/php-updater-a-script-to-upgrade-php-in-a-safe-way/180215) to install new (or old) versions.

* * *

Much and good luck,  
ernolf

---

_[View the full topic](https://help.nextcloud.com/t/migrating-owncloud-to-nextcloud-php-version-issue/181483)._
