LAMP stands for Linux / Apache / MySQL / PHP.
Server migrations and duplication of LAMP applications and websites are usually simple tasks. But sometimes there are complications including:
- The result may have encoding errors
- The new server may not be properly configured
- Path changes can damage content links
- Domain changes may keep unwanted dependencies to the original server
- Permissions in the new server may cause all sorts of errors
Some tips for your migration process:
- Exports trough mysqldump are usually less problematic than those from phpMyAdmin
- Don´t export cache data
- Move information from server to server, intermediate downloads just make things slower.
- Some useful commands are: scp, wget, chmod, chgrp, chown, setfacl, getfacl, tar, gzip, gunzip, zip, mysql, mysqldump
- Be careful with your permissions, be sure to give the apache group proper permissions and setup permission inheritance properly.
- Take a look at our script for fixing domain changes during migration.
Some examples frameworks where these problems may arise are WordPress, Joomla, Drupal or Symfony.
Post A Response