Skip to main content

change server

Comments

9 comments

  • cPRex Jurassic Moderator
    @giuliadima - Welcome to the Forum! In general, there isn't usually a need to change the document root. Is there an issue you're trying to solve by performing that change? The PHPMyAdmin version would not affect the migration to a newer system, although I'm wondering if you mean the MySQL version itself, as there is no PHPMyAdmin 8 at this tme.
    0
  • giuliadima
    Hi, I am changing server and I would like to migrate all the files, document root and db as they are in the previous server. I have different document root path so I would like to change the document root path from cPanel and do an easy migration, without chaging anything. About php, in my server I have php version 5.6 and in the new server I configured cPanel on Ubuntu 20.04 that has mysql 8.0. It will be a problem during the migration?
    0
  • cPRex Jurassic Moderator
    The PHP version isn't related to the MySQL version at all. You would want to ensure the MySQL versions are as close as possible between the two systems. In general, the document root of the domains *shouldn't* matter, and I honestly wouldn't recommend trying to change it. Details on that process can be found here:
    0
  • giuliadima
    so how can I migrate a vps server with several virtual hosts with cPanel on a new Ubuntu server 20.04? every virtual hosts has different cms as joomla and wordpress and others... Every vhost has his own document root..
    0
  • cPRex Jurassic Moderator
    Is the current server also using cPanel, or does it not have a control panel?
    0
  • giuliadima
    it doesn't have c control panel
    0
  • cPRex Jurassic Moderator
    We have a guide on that process here that should help you get things set up:
    0
  • giuliadima
    I am doing some tests to see if it will works. I downloaded the db and the apache conf in tar files on the new website with cpanel. Now how can I export this configuration in cpanel?
    0
  • cPRex Jurassic Moderator
    You would not import the Apache configuration to the new server. cPanel handles the Apache configuration based on every process that happens on a machine, such as creating a new account or adding a subdomain, so you won't need to do that. For the database configuration, it's just a plain text file, so you can compare the options in your downloaded version to the options in /etc/my.cnf and merge the ones you want.
    0

Please sign in to leave a comment.