Php 71 doesn't create php7.0-fpm.sock

I am trying to set up a Wordpress server using RedHat 7.3, Nginx 1.10 and PHP71.

This is how I installed PHP71:

wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

rpm -Uvh remi-release-7.rpm yum-config-manager --enable remi-php71 yum install php71

To make sure it was installed: rpm -q php71 and it returned php71-1.0-1.el7.remi.x86_64 This shows that it was installed.

Also php71 -v works gives me the following, so I'm sure it is installed: PHP 7.1.4 (cli) (built: Apr 11, 2017 18:26:18) (NTS) Copyright (c) 1997-2017. PHP Zend Engine v3.1.0 Team, Copyright (c) 1998-2017 Zend Technologies

So I'm trying to use Unix Socket and not IP:

In the www.conf files, I set the user and group as for Nginx. I change the listening value as follows: / var / run / php 7.0-fpm.sock I map this to what is in the default.conf file inside / etc / nginx.

My problem is that it looks like PHP71 never created this php7.0-fpm.sock file.

I got this to work with PHP56, so I'm wondering if I need to install the PHP71 module.

Any help would be greatly appreciated.

Thank.

+3


source to share


1 answer


php does not create any sockets by itself.

It looks like you haven't installed the php-fpm package.



php-fpm deamon's job is to create * -fpm.sock

Find out how to install and configure php-fpm on your system.

+1


source







All Articles