What is a way to do it? At the moment it is not possible to upgrade my website to PHP7.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello there,
We have a series of tutorials that cover the process of migrating from one Linux server to another which you can check here:
https://www.digitalocean.com/community/tutorial_series/how-to-migrate-to-a-new-linux-server
In general, depending on your site/application you will need to spin up a droplet that matches your current hosting provider environment or at least is suitable for your app/site needs (e.g running the same PHP version). Then you need to migrate your data (files, users, database etc).
Another option is to use the All-in-One WP Migration plugin. The plugin can handle the migration process on your behalf.
https://wordpress.org/plugins/all-in-one-wp-migration/
This article also covers the process, although it is outdated:
https://www.digitalocean.com/community/tutorials/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime
The final step will be to test everything and make sure it is working fine and then switch the DNS settings and push your site live from DigitalOcean.
Hope that this helps! Regards, Alex
Hi @ragraggupta,
Before you start the migration you would need to create a Droplet with DigitalOean and install either LAMP or LEMP stack on it.
If you need to use Nginx, then LEMP stack it is. You can check the following article on how to achieve this:
If you are using LAMP stack, you can check the following:
After you’ve configured this, you are ready to go with the migration.
Once you have the droplet created, you will only need to copy your website’s files over to your new droplet with DigitalOcean.
As soon as the files are copied over change the DNS of your domain and you are good to go!
Regards, KFSys