How to Manually Install Drupal Using cPanel
Drupal offers many ways to install their platform to accommodate everyone. The most common method among developers is to use the Drupal command line tool, Drush. While this is a powerful and efficient way of installing Drupal, it may be intimidating for those less familiar with using the command line. Installing Drupal using the command line without Drush is also possible, but we wouldn’t recommend it.
You can also install Drupal using a “one-click” tool like Installatron which is included or can be added to your Alpha Hosting package. To some people, this may be the easiest method of installing Drupal.
Never forget the Alpha Hosting support team is always standing by to help. If you’re following this process and get stuck, or just want us to install it for you, don’t hesitate to reach out by ticket, chat, or phone.
Finally, there’s the manual installation method we’ll show you in this article. There’s a number of steps involved, but they all take advantage of the basic cPanel interface and tools.
Once you have that downloaded you will then need to login to your cPanel account, and navigate to the file manager. Once there, double click on the directory named public_html.
Once you have accessed this directory, you will need to upload the file you just downloaded from Drupal. Click the upload button.
This will bring up the upload screen. You can drag and drop the zip file you just downloaded from Drupal or you can click Select File. If you choose Select File then you’ll need to browse to where you downloaded the file locally and choose open. It will upload automatically. Once you see the bar go green close the File Upload window.
Once you get the file uploaded you will need to extract the zip file. Right click on the zip file in the cPanel File Manager and select extract.
Next you will go into the extracted folder and select all the files and drag them into the public_html folder on the left hand side. This is to place all Drupal files at the document root for your domain. After doing this, you can delete the Drupal folder and zip file if you want.
The next step is to create a new database. Navigate to the mysql database section of cPanel. Once you are there choose what you would like to name your database. Something simple like drupal will work fine.
After creating a database you need to create a user to access it with. Scroll down to the Add New User section. Select a name and then generate a password. Copy and paste this password in a note on your system so you can reference it later.
Once you have created the database user, it will need to be paired with the database. Scroll down to the Add User To Database section. Please ensure the user you would like to add is in the top drop down box and the database in which you would like to add said user to is in the bottom drop down. Then click Add.
This will open the Manage User Privileges box. Check all the boxes and then click the Make Changes button at the bottom. The username and database name will go green when it completes. Copy and paste the database user and database name into the same note in which you saved the password.
Go to the domain you’re installing Drupal on and you should see the Drupal install screen. If you see an error relating to the PHP version, you can go into MultiPHP Manager under the Software section in cPanel to change your site’s PHP version. Version changes take 1 minute to complete.
Once you select the language it will then have you select the type of profile you would like to use. Standard will do a normal install, while minimal will allow more freedom in how the system is installed.
Next you will need to reference back to the note where you saved the database name, user and password and enter the information here. Be sure that you have entered the database information correctly or this will cause some issues moving forward.
Click save and continue and it will install your new Drupal site.
Once this completes it will present you with this screen to let you put the finishing touches on the install. At that point you are ready to rock and roll!
If you are a client of ours and need any assistance with this, please contact support and we will be happy to help in anyway we can.