How to Install Drupal 8 on a Web Host Step By Step

Drupal is an open-source Content Management System used in building websites. It is the third widely-used CMS on the internet after WordPress and Joomla. It is particularly popular among advanced users because of its loading speed, flexibility, scalability and security features. Unlike other CMS’s, however, it is excluded by default from the software bundles on the front page of cPanel. This tutorial will teach you how to install Drupal 8 on a web host manually step by step. (Click here if you want to install Drupal via Softaculous.)

1. Download the latest version of Drupal.

2. Upload the file to your web host

Upload the compressed in the directory public_html if you want to install it in the root directory.

3. Decompress the uploaded file

Extract the compressed file and rename the resulting folder to something easy to remember. It is highly advisable to install CMS’s on their own directory so that their files do not mix up with files from other software or so that you can easily distinguish their files from other files in case you want to switch to another CMS later on.

4. Go to the browser and enter your website URL

Type the domain name for your website in the browser to start the installation process.

5. Choose the language

Choose the language that you want to use for your website and then click the on the Save and continue button.

Drupal 8 Installation

6. Select an installation profile

It is advisable to install the Standard version of Drupal as it comes with the commonly-used features. After selecting it, click on the Save and continue button.

Drupal 8 Installation

7. Review and enable requirements

If PHP OPcode caching is not enabled on your hosting service, a warning will be displayed on the page:

Requirements review
Warnings found
Not enabled
PHP OPcode caching can improve your site's performance considerably. It is highly recommended to have OPcache installed on your server.

Drupal 8 Installation

To enable OPcode caching, go to the cPanel. Scroll down the cPanel page to the group of software with the subheading Software and click on Select PHP Version.

Select PHP Version

A page titled PHP Selector | Extensions will appear. It has the letters of the English alphabet in circles as subheadings.

PHP Selector

Scroll down the page to the letter O and tick the checkbox for opcache if you are using PHP version 5.5 or newer. If you are using PHP version 5.4 or older, select apc.

PHP OPcode caching

8. Continue the installation

Go back to the installation page and scroll down to the bottom where it says, Check the messages and retry, or you may choose to continue anyway. Click on retry.

9. Create a database for Drupal

Refer to the article How to Create a New MySQL Database Using cPanel. Go back to the installation page after you have created the database.

10. Database configuration

Type in the database name, database username and database password you used in creating the MySQL database Step 9. Leave Advanced Options as it is. Click on the Save and continue button.

Drupal 8 Installation

11. Configure site

Type in the site name, site email address, and other information needed for site maintenance and site settings. After which, click on the Save and continue button.

Drupal 8 Installation

12. Done

Congratulations! You have just completed the installation process and you are now logged in to the Drupal dashboard.