cPanel Config

Welcome to cPanelConfig the fastest growing cPanel configuration and troubleshooting guide on the internet. Please take the time and register. We would love to have your contribution to this completely free cPanel resource. We are updating this daily so be sure to visit us on a regular basis.

Running PHP 5 and PHP 4 on the same cpanel server

Posted by yolau

This article will help you install and run on the same server php 4 and 5. Users will be allowed to choose what version to use for their scrips.
Although I personally don’t recommend this as it has many performance implications it’s something that small webhosts use so that they don’t have to have different servers [...]

How to install APC (PHP Cache)

Posted by admin

What is APC?
APC is a free, open, and robust framework for caching and optimizing PHP intermediate code.
Install instructions

Login to the server as root
Download APC
wget http://pecl.php.net/get/APC-3.0.14.tgz
Extract and move into the directory
gzip -d APC-3.0.14.tgz
tar -xf APC-3.0.14.tar
cd APC-3.0.14
Locate where php is
which php
This should return something like: /usr/local/bin/php
We have to remember the location of php
Create configuration files
phpize
Compile APC
./configure –enable-apc [...]

How to install Eaccelerator

Posted by admin

What is Eaccelerator?
eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the [...]