Topic: Unable to use PHP-FPM with socket
I used to following command to install php-fpm
yum --enablerepo=remi,remi-php55 install -y -q php-fpm php-cli php-gd php-xml php-xmlrpc php-mbstring php-tidy php-common php-pecl-ssh2
However when i tried to configure php-fpm with socket , i get Nginx 502 Bad Gateway when i load php files
I get no errors in logs.
But when i configure php-fpm with TCP/IP Port , it works fine
When i use epel repo to install php-fpm
yum install -y -q php-fpm php-cli php-gd php-xml php-xmlrpc php-mbstring php-tidy php-common php-pecl-ssh2
php-fpm with both Socket and TCP/IP works fine