I’m building my first WordPress site. I have XAMPP running on two local PC computers.
I installed the latest XAMPP on my Win7 computer.
I installed what I think is the final XAMPP that supports WinXP on my trusty old XPpro Pentium4: XAMPP 1.8.2 with PHP 5.4.31
Both local-machine installations have the latest WordPress version 4.1.1 installed in identically named sub-directories:
Both local WordPress installations connect to identically-named MySQL databases named: okay
In brief, I want to be able to work on the Wordpress site on either machine--XP or Win7. As I understand it (IF I do), my local-machine PHP version must be relatively close to the PHP version employed by the online host (HostGator shared UNIX, running PHP 5.5x). I’ve been doing initial WP development on the old XP because it’s convenient, but I think I should migrate my finished WP site from my newer Win7 computer to the root directory of the online hosting account – because those two PHP versions should be a reliable match.
Can I just copy the Wordpress directory (c:\xampp\htdocs\wp-okay)
and the MySQL database (c:\xampp\mysql\data\okay)
from my WinXP computer -----> to my Win7 computer?
1. The WP directories on both machines are named identically.
2. The MySQL databases on both machines are named identically.
3. The WordPress installation on both machines is the latest, version 4.1.1
4. XAMPP and PHP on the XPpro machine are older than XAMPP and PHP on the Win7 machine.