Hi, PHP 7 was released last month. Many developers say that this major update Brings amazing speed improvement. You can see Zend’s infographic below, it seems you should try PHP 7, I think. 🙂
How to upgrade to PHP 7 with nginx on Ubuntu 14.04 LTS
1. Add the PPA
sudo add-apt-repository ppa:ondrej/php-7.0
sudo apt-get update
2. Install PHP7.0-FPM and NGINX
sudo apt-get install php7.0-fpm
sudo apt-get install nginx
3. You only need to change a line in your site’s NGINX conf (in /etc/nginx/sites-available/)
Change this line
fastcgi_pass unix:/var/run/php5-fpm.sock;
to
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
4. Restart the services
sudo service nginx restart
sudo service php7.0-fpm restart