Tags » Php-fpm

Install Nginx along with apache in ubuntu

Nginx is popular because it’s fast and uses comparably little memory. Architecturally, it’s event-driven. The Nginx website should tell you everything you need to know. 344 more words

PHP

Setting up Nginx, PHP, PostgreSQL (Part-3)

In this tutorial, reader will learn –

  • How to install PostgreSQL and PHP PostgreSQL Extension.
  • 854 more words
Linux

High Load on Wordpress with Nginx, Php-fpm, W3total Cache, Xcache and Memcached

Like any php-fpm newb, I’ve been constantly baffled on how to setup a WordPress site of mine using Nginx and Php-fpm. The site gets a lot of visitors so I had to install caching mechanisms like W3total Cache, Memcached and Xcache. 595 more words

Nginx

centos oracle uek red hat 5 6 7 nginx php 5.6 install howto

http://wiki.nginx.org/PHPFcgiExample

install EPEL and IUSC repos

# yum install nginx
# yum install php56u-fpm

edit /etc/nginx/conf.d/default.conf and replace the default fastcgi_param value as below

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    location ~ \.php$ {
        root           html;
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        # fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }
… 11 more words
Fsse

nginx: More FastCGI Stuff

nginx’s a pretty powerful server, no doubt. But depending on your situation, a simple caching solution as discussed in my FastCGI Caching Basics article might not be enough, or may outright break your setup. 970 more words

nginx: FastCGI Caching Basics

I’m back!

Today, I am going to share some things regarding how to do caching in nginx, with a bit of a write up and history first. 1,757 more words