Answer the question
In order to leave comments, you need to log in
How to transfer apache to another computer?
Actually, the task:
there is apache2 + php + mysql.
You need to have all this on another computer, i.e. all data, sites, settings.
How to implement it?
Answer the question
In order to leave comments, you need to log in
Install packages for Apache2, PHP, MySQL.
Analyze the configuration files in the old location, repeat them in the new one, taking into account the differences between the old location and the new one.
Do not forget to bring php.ini in line
Remove base dumps, create bases in a new place, upload dumps.
Create appropriate database users acc. rights in the new location.
1) as an option capable of living in the modern world, you can remove the image and put it in a virtual machine / other hardware;
2) "configure" Apache of a similar version + transfer of files of the sites themselves + transfer of the database, by the way, the database can be located on a separate machine (and don't forget about the modules in this version of Apache, about the PHP version and what was screwed to PHP / php-extensions for example / );
2.2) setting access rights / here I'm hinting not to forget about security.
3) If the hosting changes - do not forget to check the requirements of the site engine / here is a hint of compatibility or let's use the exec () function;
3.1) + by itself transfer of site files and database;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question