From the category archives:


How To Install Memcache PHP Extension

by lifeLinux on August 23, 2011

Memcache extension provides handy procedural and object oriented interface to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications. This article will explain how to install the memcache PHP extension on Centos/RedHat/Fedora.


How To Limit File Upload Size On Apache

by lifeLinux on May 24, 2011

To limit the total size of the HTTP request body sent from the client use LimitRequestBody Directive.


How To Increase PHP Memory Limit

by lifeLinux on May 11, 2011

If you have seen an error like “Fatal Error: PHP Allowed Memory Size Exhausted” in webserver logs or in your browser, this means that PHP has exhausted the maximum memory limit. There are several techniques to increase the PHP memory limit and you only need to use one of them.

{ 1 comment }

How To Limit Resources Used By A PHP Script

by lifeLinux on May 11, 2011

PHP supports the following resource limits directives in php.ini file. To limit resources used by a PHP script edit the file php.ini. Note that this change will affect all websites and PHP scripts on the server. To find the location of php.ini, you can use the phpinfo() PHP function to find it. Create file with […]


Error compiling PHP on CentOS x64

by lifeLinux on April 19, 2011

configure: error: xml2-config not found. Please check your libxml2 installation. yum install libxml2-devel.x86_64 configure: error: Cannot find OpenSSL’s yum install openssl-devel.x86_64


Install XAMPP on Linux

by lifeLinux on December 2, 2010

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use – just download, extract and start. The distribution for Linux systems (tested for SuSE, RedHat, Mandrake and Debian) contains: Apache, MySQL, PHP & PEAR, Perl, ProFTPD, phpMyAdmin, OpenSSL, GD, Freetype2, libjpeg, libpng, […]

{ 1 comment }

How To Install PHP on Centos

by lifeLinux on November 25, 2010

PHP: Hypertext Preprocessor is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. As a general-purpose programming […]