Installing and upgrading help

Moodel 3.2.2 and PHP 7??

 
Picture of Traci Centofanti
Moodel 3.2.2 and PHP 7??
 

Our server is currently on php version 5.6.25 and the documentation says that 5.6.5 is required to upgrade to Moodle 3.2.2. However, CPanel does not support 5.6.5 so the next version of PHP we can go to is php 7.  Does anyone know if Moodle v3.2.2 supports php version 7?

 
Average of ratings: -
Picture of Emma Richardson
Re: Moodel 3.2.2 and PHP 7??
Documentation writersParticularly helpful Moodlers

We all get caught by this!  .25 is a higher version than .5.  You are good to go!

 
Average of ratings: -
Picture of Bret Miller
Re: Moodel 3.2.2 and PHP 7??
 

With Emma on this, but Moodle itself not only supports PHP 7, but runs more efficiently if you have it. That said, you will need to check any 3rd-party plugins you have and make sure they support PHP 7. 

 
Average of ratings: -
Picture of Marina Glancy
Re: Moodel 3.2.2 and PHP 7??
Core developersMoodle HQParticularly helpful MoodlersPlugin developersTesters

There is an article in our docs about PHP7: https://docs.moodle.org/dev/Moodle_and_PHP7

3.2.2 supports both PHP 7.0 and 7.1

However (important!) not all plugins may work smoothly on PHP7. At Moodle HQ we test all core and standard plugins on PHP7 , if you have contributed plugins you must test them carefully on the test server before upgrading php in production. There are significant changes in the engine that can break the functionality of the plugins completely. We had to do quite a lot of changes in Moodle core code to make it compatible with php7

Another known problem is mssql driver that is not supported by PHP7 at all. If you have ANY external connections that need this driver you can not upgrade. However sqlsrv driver is available and you may consider switching to it. More examples of what may not work can be found here

 
Average of ratings: -
Picture of Usman Asar
Re: Moodel 3.2.2 and PHP 7??
Particularly helpful MoodlersPlugin developers

Marina, PHP 7+ driver for SQL Server is indeed available from Microsoft https://www.microsoft.com/en-us/download/details.aspx?id=20098.

 
Average of ratings: -
Picture of Usman Asar
Re: Moodel 3.2.2 and PHP 7??
Particularly helpful MoodlersPlugin developers

Traci, in addition to all the wonderful suggestions, one important thing that you MUST not ignore.

Moodle 3.1.5+ and 3.2.2+ now requires (as opposed to recommending in previous versions) database tables to be converted into Barracuda, as you mentioned CPanel, means you are on shared hosting where you wont be able to get tables converted hence you wont be able to proceed with installation.

Just before doing upgrade, do a test setup with fresh install on your hosting before you regret upgrading, else you can ask your hosting provider for DB tables conversion.

 
Average of ratings: -
Picture of Paul L
Re: Moodel 3.2.2 and PHP 7?? Barracude required?
 

re: Moodle 3.1.5+ and 3.2.2+ now requires (as opposed to recommending in previous versions) database tables to be converted into Barracuda,

I thought the Barracuda was still optional (we're on Moodle 3.1.5+ 20170324) and have not converted to barracuda, is there some documentation I overlooked, I recall there was only a warning/recommendation during the last upgrade?

We've been running 3.1.5+ without barracuda support since the summer, might this develop into a serious issue? We were planning on upgrading from mysql 5.6 to 5.7 next summer (and probably moodle 3.2 or 3.3, do you think its ok to wait that long (we are a university of 5000 students (2000 on moodle each day) and 500 courses at any given time)

thanks


===

environment Moodle 3.1.5+ 20170324, windows 2008r2, IIS7.5

 
Average of ratings: -