4 steps to Install NGINX on CentOS 7.0

Q. How to install NGINX on centOS 7.0 ? A. 4 easy steps to install and run NGINX on CentOS 7.0 : 1. Add Nginx Repository : [root@localhost ~]# rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 2. Install with yum command : [root@localhost ~]# yum install nginx -y 3. Start NGINX service : [root@localhost ~]# systemctl start nginx.service 4. […]

How to Fix “/var/run/php-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 127.0.0.1”

Issue : I received the following error in nginx error log. Happened on nginx/1.6.2 and PHP 5.4.32 (fpm-fcgi). 2014/09/17 00:17:30 [crit] 11909#0: *34 connect() to unix:/var/run/php-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 127.0.0.1, server: www.ehowstuff.com, request: “GET /feed/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm.sock:”, host: “www.ehowstuff.com” Solution : Edit /etc/php-fpm.d/www.conf . Uncomment “listen.mode = 0666”

How to Setup Nginx With PHP-FastCGI on CentOS 6.2/CentOS 6.3 VPS Server

At the previous post, i have setup Nginx as reverse proxy to apache web server. This post will covers the steps how to setup nginx web server to use PHP-FastCGI for dynamic content. Nginx (pronounced “Engine-X”) is a free, open-source HTTP Web server and one of the alternative to Apache http server. It’s a high […]

Nginx Reverse Proxy Setup for Linux Server

Nginx also pronounced “Engine-X” is a free, open-source HTTP Web server and one of the best alternative to Apache http server. It is a high-performance edge web server with the lowest memory footprint and the key features to build modern and efficient web infrastructure. Nginx also provides a combination of Nginx web servers, Nginx reverse […]

How to Install and Configure Nginx Web Server on CentOS 6.2

Nginx or “engine x” is a free, open-source HTTP server and one of the alternative to Apache http server. It’s a high performance edge web server with the lowest memory footprint and the key features to build modern and efficient web infrastructure. In this post, i will guide you through the basic steps to install […]