How to install WordPress in cPanel

WordPress is the most popular content management system on the web, with over 40% of all websites using it. This tutorial will describe two ways to install WordPress on your cPanel server.

Install using Site Script

When installing using the Site Scripts, you will be unable to update WordPress outside of the Site Script.

Enabling the Site Script

Log into WHM as Root

Click on cPanel.

Click on Install cPAddons Site Software.

Check the box next to WordPress and click Update cPAddon Config.

Using the Site Script

Log into cPanel.

Under Software click on Site Software.

Under Blogs Click on WordPress.

Fill out the fields with your information.

Remove the /wordpress in the installation URL to install WordPress into your document root.

Once everything is filled out, click install.

Manual Installation

This method is a little bit more complex, but gives you a typical WordPress install.

Install the WordPress files

Download the WordPress installation here Download

Upload them through the cPanel file manager, FTP or you can download it through SSH by running the following command:

wget http://wordpress.org/latest.tar.gz

Once the file is uploaded, unzip it. By default it will unzip to a new wordpress directory. Copy the contents of the new wordpress folder wherever you want the wordpress installation to be.

Create Database

Log in to your cPanel.

Click MySQL Database Wizard under the Databases section.

As you are creating the database, be sure to write down the database name, user name, and password. You will need these to complete the setup

Enter the database name and click Next Step.

Enter the database user name and the password. Make sure to use the password generator to get a secure password. Click Create User.

Next, you will be able to set the permissions. Click the All Privileges checkbox and click Next Step.

Install WordPress

Now that you have the database ready and the files ready. Open a web browser and go to your new website. You will be presented with the WordPress installation screen. Fill out the fields that are presented with the information you copied earlier.