Moodle and PHP7 – Experiments by Catalyst NZ @moodle

October 17th, 2015

Since the new version of PHP i.e. PHP 7 is due to be released in November 2015. PHP is the programming language that Moodle is written in and is known as the server side scripting language.

Catalyst NZ the Moodle Partner from New Zealand have shared their tests of Moodle with PHP 7. The main improvement of using Moodle with PHP 7 is the Speed which may result in more requests your web hosting infrastructure can handle in a given time period.

PHP7 test results diagram

PHP7 test results diagram from

The only difference between tests runs was the version of PHP which shows a performance increase for PHP7. PHP7 completed the 10,000 requests 12% faster than PHP5.6. With 95% of requests taking 16% less time to complete with PHP7.

While the unit test result only goes a little way to give a full indication of how much work needs to be done, it does show that PHP7 won’t be a drop in replacement for systems running Moodle just yet.

You can read the full blog post here. Have you also tried PHP7 on your development environment? What are your results? Do share with us in the comments below.