How to install Memcache with LAMP on Ubuntu 12.04

Memcache is a application which helps to speed up servers by caching their information. Through this program we can cache the recent queried data for certain time period with allocated specific memory. Whenever we required the data again memcache serves it from cache, instead of generating the result form database. Installing Lamp and PHP5 modules […]
Continue reading…

 

How to install XCache to accelerate PHP performance

XCache is a open-source opcode cacher, which means that it accelerates the performance of PHP on servers. It optimizes performance by removing the compilation time of PHP scripts by caching the compiled state of PHP scripts into the shm (RAM) and uses the compiled version straight from the RAM. This will increase the rate of […]
Continue reading…

 

How to Install CouchBase 2.0.1 Enterprise Server on Centos with php-ext-couchbase.

Couchbase is a simple, fast and elastic document-oriented database. These applications must service many concurrent users; creating, storing, retrieving, aggregating, manipulating and presenting data. In support of these kinds of application needs, Couchbase is designed to provide easy-to-scale key-value or document access with low latency and high sustained throughput. It is designed to be clustered […]
Continue reading…

 

How to Protect Functions in CakePHP

If you don’t want to implement complex user administration with authorization components for you application then you can simple protect your secret functions by using .htpasswd file. I am just giving an example for admin function.

Add the below lines on your apache virtual host configuration

Now you required user name and password […]
Continue reading…

 

How to Install FFMPEG and FFMPEG-PHP on Fedora/CentOS

Download and install FFMPEG:

Download and install FFMPEG-PHP:

Edit the file ffmpeg_frame.c and replace the word “PIX_FMT_RGBA32” with “PIX_FMT_RGB32”

Continue reading…