Tips / Nginx

Archive for posts tagged PHP

How to store PHP sessions in Memcached

Memcached is one of those really good things that will help you to reduce server load and gain more app performance / speed. Today I’m going to show you how to store PHP sessions in Memcached instead of storing on the filesystem (default on all PHP installations). Why should I store my PHP sessions in Memcached? Because RAM […] Read more

How to install PHP 5.5 on CentOS 6 / 5

PHP 5.5 is the latest stable release of PHP programming language. It’s been out for a while and you can start using it without any problems. It is supported by most modern Linux distributions. On this tutorial I will guide you on How to install PHP 5.5 on CentOS Open a terminal and type “su […] Read more

PHP not working with Nginx on CentOS

One common trouble that I’ve seen a couple of times is PHP not working with Nginx. There are two ways to parse PHP if you use Nginx, as a reverse proxy and as a stand alone with php-fpm. Here are the details about how you can configure Nginx to have PHP working without issues: 1) […] Read more

How to install PHP 5.5 on CentOS/RHEL 5.9 / 6.4

Today we are going to see what’s new on PHP 5.5 and have a quick tutorial about how to install php 5.5 on CentOS/RHEL. PHP 5.5 has been released on 22nd August 2013, and the good news are that we can install this new version for CentOS/RHEL 5.9 and 6.4. What’s new on PHP 5.5.x? Support […] Read more