Currently I'm trying to install Moodle 3.1.9+, and face one problem.
After I select installation language and directory I got this message "Fatal error: Cannot redeclare class moodle_recordset in /var/www/moodle/lib/dml/moodle_recordset.php on line 37"
MySQL: 5.5.57-0+deb8u1 - (Debian)
PHP Version 5.6.30-0+deb8u1
The thing is, that Moodle was installed on this machine before, but as I face few problem with a previous version, I decided to install new-one and start configure it from the very beginning. Moodle 3.1.9 is the highest I can Download and install on this server. I cleared moodle database, deleted moodledate, checked if all folder have the correct access rights. And still got this error.
Upgrading MySQL or PHP is not an option. because few other resources could be broken.
What am I missing?