title: Copying a Drupal website to other local server resulting in a fatal error
body: <p>I am trying to run a live website built on Drupal on my PC XAMPP server. I copied the website's root directory and exported the database.</p>
  
  <p>On second PC (Windows 10), I installed XAMPP server and created the database and imported the sql file and placed the website in the folder C:/xampp/htdocs/</p>
  
  <p>I also changed the config file database settings to use my localhost database and its credentials.</p>
  
  <p>Everything seem fine, but when I run the website as localhost/mysite. It is showing a fatal error.</p>
  
  <p>I expected the drupal site will open normally. But it doesn't.</p>
  
  <p>So, without going in to the technical details. I want to know that did I made any mistake or forget to correctly setting up the environment in my PC.</p>
  
  <p>Does the Drupal meant to be first backed-up and then we need to restore it on a Drupal environment? in other words, Is it perfectly ok to just copy and paste the code and import database and it will run?</p>
  
  <p>My XAMPP PHP version is 7.x. So will it be a problem? Note: My server is using PHP 5.6 version.</p>
  
  <p>What are changes I need to do to make it run normally?</p>