• We have a 5 STAR service and only happy clients ! 5 Star Rating
  • sales@plothost.com

How to restart a service via WHM interface

cPanel/WHM offers a nice graphic interface to restart important services like Apache, FTP, MySQL etc.
First, you should login to WHM as root. Go to Restart Services menu like in the image bellow.
restart services

From here just select the service you want to restart and click the “Yes” button like in the following image .
restart services 2
The example is for the pure-ftpd service, but the interface is the same for all other services.

After the service is successfully restarted you will get a message like :

Waiting for ftpserver to restart………finished.
pure-ftpd (pure-ftpd (PRIV)) running as root with PID 4062 (process table check method)
pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/local/cpanel/bin/pureauth) running as root with PID 4050 (pidfile check method)
ftpserver started ok

The exact image is
restart services 3

For more details please visit the official support page at cPanel Documentation

How to test a website in different browsers

When you are developing a website you want to see how it looks in different browsers. You can install few browsers like Firefox, Opera, Chrome etc but you it’s not easy to test them on different operating system. You will need some operating system virtual images – for example for Windows XP, 7 , 8 , RedHat, MacOS etc. This is not an easy task.

You can get a lot of help from some online websites that will load your webpage in different browsers/operating systems.

1. Spoon.net


2. Adobe BrowserLab


3. Mogo


4. Testize


5. Browser Shots


How to start,restart and stop Apache web server

Here we will list some very simple commands to start, restart and stop the Apache web server. Of course, you should take care about the stop command as your websites will stop working.

For starting Apache use:

root@web [/home/admin]# /sbin/service httpd start
httpd (pid 11858) already running
root@web [/home/admin]#

As you can see, if the Appache (httpd service) is already running the system will let you know.

To restart httpd:

root@web [/home/admin]# /sbin/service httpd restart
root@web [/home/admin]#

To stop Apache server :

root@web [/home/admin]# /sbin/service httpd stop
root@web [/home/admin]#

How to get MySQL/Apache/PHP versions

You can use these commands on a virtual private server (VPS) or dedicated server running CentOS. Usually, you will use the CentOS for a web hosting server. Many times you want to check the versions of Apache, PHP and MySQL server.

For MySQL:

root@web [/home/admin]# mysql -V
mysql Ver 14.14 Distrib 5.5.29, for Linux (i686) using readline 5.1
root@web [/home/admin]# 

Notice that capital “V” from the first command.

Alternatively you can use:

root@host [/]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 273052
Server version: 5.5.28-cll MySQL Community Server (GPL)
Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW VARIABLES LIKE "%version%";
| Variable_name | Value |
| innodb_version | 1.1.8 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.28-cll |
| version_comment | MySQL Community Server (GPL) |
| version_compile_machine | i686 |
| version_compile_os | Linux |
7 rows in set (0.00 sec)

root@host [/]#

For PHP use:

root@host [/]# php -v
PHP 5.3.21 (cli) (built: Jan 27 2013 06:28:24)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.
root@host [/]#

For Apache try :

root@host [/]# /usr/local/apache/bin/httpd -v
Server version: Apache/2.2.23 (Unix)
Server built: Jan 27 2013 06:23:25
Cpanel::Easy::Apache v3.16.7 rev9999
root@host [/]#

As you can see, this command will also output the Easy Apache version – if the server has cPanel installed.

Page 61 of 62
1 59 60 61 62
back to top