Archive for the 'cPanel Support' Category

SBDavid

cPanel & WHM Version Number

cPanel & WHM Version Number

The version number:

The first and second segments still represent the parent and major values. (These are unchanged.)
The third segment no longer consists of an auto-incremented build ID number. It now represents a milestone—a group of changes to cPanel & WHM that will include new features and bug fixes.
The fourth segment is the auto-incrementing build ID. This value is relative to the milestone. When the milestone is achieved, the third segment will be incremented and the build ID will reset to 0.

For example, in version 11.29.1.4:

11” is the parent number.
29” is the major version number.
1” is the cPanel & WHM milestone.
4” is the build ID leading up to the completion of the milestone.

This version number would be reported in the cPanel & WHM user interfaces as “11.29.1 (build 4).”

SBDavid

Create a partial backup cpanel

Create a partial backup cpanel

To back up a portion of your site:

*Select Backup from the first page.
*Select the portion of your site to back up by clicking Home Directory, MySQL Databases, or Email Forwarders & Filters.
*Click the appropriate link or button on the following page to store the required information to your computer or web server.

The type of the backup file will depend on what portion of your site you are saving to your computer. For a list of backups and their corresponding file types, see the table below.

————————–
Part of Site File Type |
————————–
Home Directory *.tar.gz
————————–
Email Forwarders *.net, *.com
————————–
Email Filters *.net, *.com
————————–
SQL Database *.sql
————————–

SBDavid

ClamAV quick commands

ClamAV quick commands

Update antivirus database:

freshclam

Scan a directory and print out infected files:

clamav -ri /home

Scan a directly and remove infected files and emails:

clamav -ri –remove /home
SBDavid

Memcached Dependencies

Memcached Dependencies

Memcached is a C program, depending on a recent version of GCC and a rececnt version of libevent. The recommended method of installation is to first try your distribution’s package manager. If the version it contains is too old, you may have to try installing from a backport, or by source.

Installing From Your Distribution

Redhat/Fedora

yum install memcached
SBDavid

PHP Memcache Extension with cpanel

PHP Memcache Extension with cpanel

Download the latest stable version of memcache from http://pecl.php.net/package/memcache

Download and Install

wget http://pecl.php.net/get/memcache-2.2.5.tgz
tar xvf memcache-2.2.5.tgz
cd memcache-2.2.5
phpize
./configure && make && make install

Update php.ini Configuration

Create an empty file called test.php and place this in it the php info.

Determine what php.ini file is configured.

root@host [~/php]# php -f test.php | grep “Loaded Configuration File”
Loaded Configuration File => /usr/local/lib/php.ini

« Prev - Next »