Performance testing of Drupal 7 with PHP 7.1

In this video I will be installing PHP 7.1 and seeing what difference this makes to how many requests can be handled by the website. You can watch it at:

https://www.youtube.com/watch?v=nxj11vpOf3Y

Below are the commands that I use in the video to install and test the new PHP:

yum -y install php71-php-fpm php71-php-opcache php71-php-pecl-uploadprogress php71-php-pecl-memcache php71-php-pdo php71-php-mysqlnd php71-php-mbstring php71-php-gd php71-php-xml

nano /etc/opt/remi/php71/php-fpm.d/www.conf

listen = /var/lib/apache2/fastcgi/www.socket

listen.owner = apache
listen.group = apache

nano /etc/opt/remi/php71/sysconfig/php-fpm

CGROUP_DAEMON="cpu:/limitcpu"

ab -n 500 -c 20 http://192.168.10.110/drupal/

service php56-php-fpm stop

setenforce 0

service php71-php-fpm start

ab -n 500 -c 20 http://192.168.10.110/drupal/