Author Topic: PHP in IIS 6 and Moodle 2.0  (Read 6333 times)

0 Members and 1 Guest are viewing this topic.

Offline Stephen

  • Board Veteran
  • *****
  • Posts: 5996
  • Gender: Male
    • Banbridge Academy Online
  • Speciality: Black Neck sixth Dan - No Kan Do
PHP in IIS 6 and Moodle 2.0
« on: July 04, 2012, 02:16:06 PM »
I was looking at updating PHP on the intranet server here and noticed they have went to PHP 5.4.4

However I found that I cant update to the latest version as I cannot find the PECL extensions that I would need to add to the extensions folder to allow it to work, it will not work with the old ones - you just get error messages all over the show.

In fact I could not find the PECL extensions for 5.3 either.

As this was all in aid of creating a test site for our VLE to see how the update would go from moodle 1.9 to moodle 2+. So I decided to go ahead and update the moodle anyway on the test site running PHP 5.2.9-2 and mySQL 5.0.51

Naturally our custom theme stopped the update and had to be deleted in order for the update to proceed, otherwise it seems to have worked. Albeit with a crap theme. Unfortunately, according to the documentation, the theme would require a complete reworking in order to make it compatible - lovely!

Note in updating moodle I created a new folder and put the new version of moodle in there, changed the config.ini file accordingly (had to change from MySQL to MySQLi engine) then moved any additions into the folder. Do not bung it all in your current folder as if you mix the code you are stuffed. This is a rewrite of moodle as different from 1.9 as Dos is from Windoze 7. Make sure you have everything backed up and for goodness sake do not do the update on the live site until you have tried it on a test site. I have copies of the moodledata directory, the moodle directory on the server and the database which I exported using phpMyAdmin. If you have one of these 3 things missing and things go pear shaped you will be in serious trouble.

I will let the powers that be worry about that.
« Last Edit: July 04, 2012, 02:22:30 PM by Stephen »
One looks back with appreciation to the brilliant teachers, but with gratitude to those who touched our human feelings. The curriculum is so much necessary raw material, but warmth is the vital element for the growing plant and for the soul of the child.
Carl Jung

Offline ssmith

  • Jr. Member
  • **
  • Posts: 96
  • Gender: Male
    • TecHKnow
  • Speciality: Science
Re: PHP in IIS 6 and Moodle 2.0
« Reply #1 on: July 06, 2012, 11:01:55 AM »
While our moodle is hosted on a web host platform (Bluehost). I have cloned our VLE and tried the upgrade from 1.9.10 to 2.03 on my own personal sever and found as you did that our lovely custom theme caused hassle. Otherwise I carried out a similar method that you describe and the installation went ok.
 
Now ready to do it "for real" on the web host platform.
 
TecHKnow - A News and information website for laboratory technicians http://www.techknow.org.uk (Now updated and improved)

Offline Stephen

  • Board Veteran
  • *****
  • Posts: 5996
  • Gender: Male
    • Banbridge Academy Online
  • Speciality: Black Neck sixth Dan - No Kan Do
Re: PHP in IIS 6 and Moodle 2.0
« Reply #2 on: July 06, 2012, 11:58:49 AM »
What version of PHP are you running and are you running IIS or Apache??
One looks back with appreciation to the brilliant teachers, but with gratitude to those who touched our human feelings. The curriculum is so much necessary raw material, but warmth is the vital element for the growing plant and for the soul of the child.
Carl Jung