Php 5 and moodle install problem and solution

Php 5 and moodle install problem and solution

by Dave Davis -
Number of replies: 2

Ok, solved my problem.

I was attempting to install moodle under apache 2 with php5 and some of the fields in the database config table were not being created. 'lang', 'framename', and 'release'. (see earlier post Install not creating fields in database)

I rolled php back to 4.3.10 and reinstalled moodle and it went fine.

I do have php set up to run as an apache module, not sure if that factors in to the problem or not.

Anyway, looks like some issues with php5...

Dave

Average of ratings: -
In reply to Dave Davis

Re: Php 5 and moodle install problem and solution

by Paco Blanco -
I have been stuck during a while with this same problem. When I finally solved it I did two things, so I am not sure which of those made it work:

* Updated libmySQL.dll in my windows dir (I had forgotten since I upgraded mysql).

* Used the 18th jan build of moodle instead 1st march

Now all seems to be working fine with Apache 2.0.52, PHP 5.0.3 and Mysql 4.1

Hope this helps
In reply to Paco Blanco

Re: Php 5 and moodle install problem and solution

by Dave Davis -

Paco,

That's great, I'll give that a try. I'd already tried rolling back to an earlier version of moodle, but the libmySQL.dll in the windows dir I didn't even think about.

Great work, thanks.

Dave