Centos7-php7.1-nginx
Installing PHP 7.1 on CentOS 7 with Nginx
1. Install Nginxyum install nginx
2. Repo ' s for PHP 7.1 unfortionally PHP7.1 are not available trough main stream Repo ' s yet.
$ yum install epel-release$ wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm && rpm -Uvh remi-release-7.rpm
2. Install PHP 7.1
$ yum --enablerepo=remi-safe -y install php71
Version Check:php71 -v
Some aditonal Packages
$ yum install php71-php-mcrypt php71-php-mcrypt php71-php-json php71-php-mbstring php71-php-xml php71-php-soap php71-php-xmlrpc php71-php-simplexml php71-php-curl php71-php-mysqlnd
3. Install PHP-FPM
$ yum --enablerepo=remi-safe -y install php71-php-fpm
Start & Set for Boot
$ systemctl start php71-php-fpm$ systemctl status php71-php-fpm.service$ systemctl enable php71-php-fpm
Configs?
In case you wonder, where the F**ck is my php/php FPM Config?
/etc/opt/remi/php71//etc/opt/remi/php71/php-fpm.d/www.conf
Install PHP7.1 on CENTOS7