Archive for the tag 'WHM'

How to check mysqli support in cpanel servers.

The mysqli extension allows you to access the functionality provided by MySQL 4.1 and above. More information about the MySQL Database server can be found at » http://www.mysql.com/

To check if mysqli is installed run the following command.

/usr/local/bin/php -m | grep -i mysql

To install

# /scripts/easyapache

Select the package mysql improved from Exhaustive options list

To verify whether mysqli is installed

# /usr/local/bin/php -m | grep -i mysql

How long will cPanel & WHM support my chosen operating system?

Operating System cPanel End of Life Date

CentOS 3.x, RedHat Enterprise Linux 3.x April 30, 2011
CentOS 4.x, RedHat Enterprise Linux 4.x August 31, 2012
CentOS 5.x, RedHat Enterprise Linux 5.x, CloudLinux 5.x September 30, 2014
CentOS 6.x, RedHat Enterprise Linux 6.x April 30, 2018
FreeBSD 7.3 September 30, 2012
FreeBSD 7.4 August 31, 2013
FreeBSD 8.0 May 31, 2011
FreeBSD 8.1 January 31, 2013
FreeBSD 8.2 August 31, 2012

How to restore your SSH access using WHM Autofixer

If you are locked out and can’t SSH to your server, WHM Autofixer may help you!

Here is process to restore SSH settings and access.

1. Login to your WHM using the following URL:

https://HOSTNAME-OR-IP:2087/scripts2/autofixer

Change the HOSTNAME-OR-IP as appropriate for you.

2. In the Autofixer interface, put the name safesshrestart as shown on the image.

WHM SSH Autofixer

3. Hit the Submit button.

This will restore your SSH configuration and restart your sshd! You should be able to login easily after that!

Installing or Updating PostgreSQL on Your cPanel & WHM Server

cPanel & WHM works with PostgreSQL 7.3.x or later.

Using the command line interface, log into your server as root.

If you have PostgreSQL 7.2.x installed, back up your databases using pg_dumpall or some other method. If you have databases you wish to keep, move your existing PostgreSQL data directory somewhere else by, for example, typing the following command.

mv /var/lib/pgsql /var/lib/pgsql.old

To begin the installation process:

On a CentOS or RedHat system, use the following script:

/scripts/installpostgres

This script executes yum install postgresql (and related RPMs).

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).”

Next »