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:

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 = apache

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


ab -n 500 -c 20

service php56-php-fpm stop

setenforce 0

service php71-php-fpm start

ab -n 500 -c 20