Moodle and PHP7 – Experiments by Catalyst NZ @moodle

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 Catalyst.net.nz

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.

Jaswinder Singh

Jaswinder Singh, passionate about using Moodle in improving the Indian Education System and reaching the students in far flung areas where still education seems to be a impossible prospect of life. He is the author of the popular Moodle Book "How to use Moodle 2.7". In October 2016, Jaswinder was elected as the Moodle User's Association Committee member - the first to make it from India.

Related Articles