![]() ![]() ![]() This will give you a blank Moodle that should work. run the XAMPP install script on the new install.disable the existing install by shutting down Apache and MySQL.Place the new XAMPP or windows package where you want it to be, but leave the existing (working) install where it is, so you can go back to it if everything fails.Also check apache\modules and php\ext carefully for extra files. Use a diff application to compare nf and php.ini in the old and new packages. If you have inherited it, this part is a minefield. Note: if you made the previous install yourself, this will be a lot easier. type "mysqldump.exe -user=your_MySQL_user -password=your_MySQL_password your_database_name > backup.sql" without the quotes and substituting the real values from your config.php file.type "cd path_to_your_webserver\mysql\bin\" without the quotes and substituting the actual path where your webserver is.Open a command prompt using Start->run and typing cmd.It is vital to back up the entire XAMPP directory to another machine/hard-drive/USB-drive at this point.Log into the server with administrator privileges.You can then copy various component files from your old webserver directory across to the new one and all should be well. The idea is to backup the entire database into a text file, ready for the new webserver to rebuild it. You don't want to use Moodle's internal backups system as this will make things take an age. At least an hour of free time, possibly up to three - the backups can take forever depending on how big your install has become and troubleshooting can be a pain.To have sufficient hard-drive space to backup your existing install in its entirety (preferably to another machine).The latest Moodle code if it wasn't included in the above. ![]() To download the latest XAMPP or windows installer package e.g. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |