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


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

In this tutorial, reader will learn –

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

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


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


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
    location ~ \.php$ {
        root           html;
        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

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