Archive for the tag 'cpanel'

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

SBDavid

Deleting Stats logs daily in cPanel

Deleting Stats logs daily in cPanel

Deleting Stats logs is something that is enabled on most servers but one does encounter servers with a full domlogs directory. To delete those logs you can follow these steps.

First step is to check how large are the apache domain logs, you can check those on a cPanel server by running “du -hs /usr/local/apache/domlogs”. If the size of those logs is large, then you may want as much free space as possible. Login to WHM and click Tweak Settings. Within that menu click “Delete each domain’s access logs after stats run” which will enable this and click ‘Save’. Now at the end of the stats run every night it will wipe out the directory so you should not have the logs grow very large, unless of course your server is very busy.

SBDavid

Apache cPanel SSL Cert Installation

Apache cPanel SSL Cert Installation

Installing your cPanel SSL Certificate

The following instructions are for cPanel 11. If you have a different version of cPanel, you will go through a similar process but you may need to ask your web host for specific instructions.

1.Download your Intermediate and Primary Certificate files from your certificate provider to the directory where you will keep your certificate and key files.

2.Login to your cPanel control panel.

3.Find and click on SSL/TLS Manager.

4.Click on Generate, view, upload, or delete SSL certificates.

5.Under the Upload a New Certificate section, click on the Browse button and find your Primary Certificate (yourdomain.crt) that you downloaded in the first step.

cPanel Daily Process Log (formerly CPU/Memory/MySQL Usage)

(Main –>> Server –>> Daily Process Log)

This feature displays information about your server’s consumption of processing power and memory, averaged over the course of the selected day.

The information is divided into rows and columns. Each row represents a different process running on your server while each column represents the processes’ associated parameters.

The processes running on your server will depend on how you have configured WHM and what other daemons and applications you install on your server.

The column information is divided into 5 categories:

User — Displays the name of the user running the process. For example, if you are logged into your server as “root,” then that username will appear in this field for any processes you initiate.
Domain — Displays the domain name associated with your cPanel user accounts.
%CPU — Displays the average daily percentage of the CPU’s processing power used by the corresponding process.
%MEM — Displays the average daily percentage of RAM used by the corresponding process.
MySQL Processes — Displays the average number of MySQL processes associated with the corresponding process for today.

Next »