How do I upgrade XAMPP lite 1.7.1 on windows to XAMPP Lite 1.7.3

How do I upgrade XAMPP lite 1.7.1 on windows to XAMPP Lite 1.7.3

Kevin Gould發表於
Number of replies: 3

Folks,

I am currently running Moodle 1.9.X WIndows package and must upgrade to a newer version of Apache and PHP. My IT department will not release Moodle at the current release levels supported by this XAMPP Lite 1.7.1. How do I upgrade to a newer versions and maintain my current Moodle environment.

Thanks in Advance

Kevin Gould

評比平均分數: -
In reply to Kevin Gould

Re: How do I upgrade XAMPP lite 1.7.1 on windows to XAMPP Lite 1.7.3

Colin Fraser發表於
Documentation writers的相片 Testers的相片
I am sorry I did nto see this earlier, it deserved a more rapid response than this. OK get adventurous..

1. Prepare to dump Xampp altogether... Backup your MySQL Moodle database - use phpMyAdmin in the Moodle server folder, copy that backup somewhere safe.

2. Install Apache and PHP as separate installs.. if you go to this link it will tell you how to do it.. Install MySQL at this point, creating a UTF-8 collation not the Developer's database Sulinski recommends. Download and install phpMyAdmin making sure it all works before doing anything else.

3. Copy all your Moodle files over to the htdocs/moodle19 folder.

4. Copy your Moodledata folder to the same level as the htdocs folder.

5. Restore your backup of your MySQL database to the new database, using phpMyAdmin. Make sure all the links in the backup now reflect the new Apache. There is available an update sql statement you can run in phpMyAdmin to do this in one hit.

6. Check the config.php file and make sure that they vars all match the new setup.

DO NOT delete the old install until the new is running properly.

The Moodle in Xampp is the same as a standard Moodle, there is no particular coding that is different, just the Xamp is the shell.

You can break Moodle out easily enough, if you have the time to do it.

What you can also do is simply install a new Moodle using Xamp to a new folder and restore your backups. Less palying around, but if you install Apache, PHP, MySQL and phpMyAdmin, then a standard Moodle install to, say Moodle19, they you can download and install Moodle2.0 to say Moodle2 folder. If you go to Administration > Server > Session Handling, chanign your cooki prefix to 10 and 20 respectively, then you can enjoy the best of both worlds...

In reply to Colin Fraser

Re: How do I upgrade XAMPP lite 1.7.1 on windows to XAMPP Lite 1.7.3

Kevin Gould發表於

Thanks for your response. The Moodle community is great for the assistance fellow users provide. Just curious. Why to I need to change the cookie prefix? Ist this a requirement for Moodle 2.0 or the new versions of XAMPP and MySql.

OUCH I chagned the cookie prefix and now I can't log in. Error: Unfortunately, cookies are currently not enabled in your browser. Cokkies are enabled. How do I reverse this setting? Is it in the PHP.INI?

Thanks Again

Kevin

In reply to Kevin Gould

Re: How do I upgrade XAMPP lite 1.7.1 on windows to XAMPP Lite 1.7.3

Warren Kleinman發表於

I am getting this same issue with "Error: Unfortunately, cookies are currently not enabled in your browser"  but I have made no changes at all.. everything was working fine till about two weeks ago and then the graphics stopped displaying properly (theme doesn't display) and I get the cookie error.

I have tried different PC's different browsers and they all say the same thing.  I can no longer log in with any account into moodle, not even admin

I do have access to back end through my cpanel.

Any help would be appreciated...

Warren