Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By kunalraut666 on
Hi guys,
I need to convert my Drupal 7.69 to Drupal 7.94.
Can someone provide steps how should I proceed ?
How I'll migrate database and contents from 7.69 to 7.94 ?
And can we install php 8.2 in 7.94 ?
Please provide some documentation so it would be better for me.
Comments
Use drush
First, the current latest release of the Drupal 7 branch is release 7.98. That is the version you need to update to. Release 7.94 is already tagged "insecure" and should be avoided.
The simplest way to update from one minor version of Drupal 7 to another is to use the CLI and drush.
First, make sure you have the latest version of drush that is compatible with Drupal 7 installed. I.e.:
Then, to update the site to the latest release (7.98), type the following three commands in or below the site's webroot:
The last of these (
drush updb
) migrate database from 7.69 to 7.98.Drupal 7.98 core is compatible with PHP 8.2. However, there is no guarantee that all contributed modules that you use is. For example, the very much used Backup and Migrate is not. (Example: #3350436: Deprecation messages with PHP 8: Creation of dynamic property...). Be prepared to roll-back if you're bitten by a PHP 8 deprecation.
- gisle