{"id":27226,"date":"2022-11-23T23:18:36","date_gmt":"2022-11-23T23:18:36","guid":{"rendered":"https:\/\/supporthost.com\/?p=27226"},"modified":"2024-05-15T17:08:57","modified_gmt":"2024-05-15T17:08:57","slug":"install-drupal","status":"publish","type":"post","link":"https:\/\/supporthost.com\/install-drupal\/","title":{"rendered":"How to install Drupal: the definitive guide"},"content":{"rendered":"\n<p>If you want to know how to install Drupal on the server or locally, in this detailed guide you will find everything you are looking for.<\/p>\n\n\n\n<p>We will see how to install the CMS on the server with an auto-installer, how to do it manually and locally and how to solve any problems.<\/p>\n\n\n\n<p>First let&#8217;s see what alternatives we have and what the requirements are.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#how-to-install-drupal\">How to install Drupal<\/a><ul><li><a href=\"#drupal-requirements\">Drupal requirements<\/a><\/li><\/ul><\/li><li><a href=\"#install-drupal-with-softaculous\">Install Drupal with Softaculous<\/a><ul><li><a href=\"#software-settings\">Software Settings<\/a><\/li><li><a href=\"#site-settings-and-admin-account\">Site settings and admin account<\/a><\/li><li><a href=\"#advanced-options\">Advanced options<\/a><\/li><li><a href=\"#start-the-installation\">Start the installation<\/a><\/li><\/ul><\/li><li><a href=\"#install-drupal-manually\">Install Drupal manually<\/a><ul><li><a href=\"#download-the-cms-files\">Download the CMS files<\/a><\/li><li><a href=\"#upload-files-to-the-server\">Upload files to the server<\/a><\/li><li><a href=\"#create-the-database\">Create the database<\/a><\/li><li><a href=\"#start-drupal-installation\">Start Drupal installation<\/a><ul><li><a href=\"#choose-language\">Choose language<\/a><\/li><li><a href=\"#choosing-a-profile\">Choosing a profile<\/a><\/li><li><a href=\"#database-configuration\">Database configuration<\/a><\/li><li><a href=\"#site-configuration\">Site configuration<\/a><ul><li><a href=\"#site-information\">Site information<\/a><\/li><li><a href=\"#site-maintenance-profile\">Site maintenance profile<\/a><\/li><li><a href=\"#regional-settings\">Regional settings<\/a><\/li><li><a href=\"#update-notifications\">Update notifications<\/a><\/li><\/ul><\/li><li><a href=\"#finishing-the-installation\">Finishing the installation<\/a><\/li><\/ul><\/li><\/ul><\/li><li><a href=\"#install-drupal-locally-with-xampp\">Install Drupal locally with XAMPP<\/a><ul><li><a href=\"#install-xampp\">Install XAMPP<\/a><\/li><li><a href=\"#download-drupal\">Download Drupal<\/a><\/li><li><a href=\"#create-a-database\">Create a database<\/a><\/li><li><a href=\"#start-drupal-installation-locally\">Start Drupal installation locally<\/a><ul><li><a href=\"#database-configuration-1\">Database configuration<\/a><\/li><\/ul><\/li><li><a href=\"#errors-installing-drupal-locally\">Errors installing Drupal locally<\/a><\/li><\/ul><\/li><li><a href=\"#problems-installing-drupal\">Problems installing Drupal<\/a><ul><li><a href=\"#problems-with-the-php-version\">Problems with the PHP version<\/a><\/li><li><a href=\"#unable-to-connect-to-database\">Unable to connect to database<\/a><\/li><\/ul><\/li><li><a href=\"#conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/10\/how-to-install-drupal-1024x538.png\" alt=\"How To Install Drupal\" class=\"wp-image-30439\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/10\/how-to-install-drupal-1024x538.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/10\/how-to-install-drupal-300x158.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/10\/how-to-install-drupal-768x403.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/10\/how-to-install-drupal-120x63.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/10\/how-to-install-drupal.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-install-drupal\">How to install Drupal<\/h2>\n\n\n\n<p>If you want to create a site with Drupal, there are several alternatives.<\/p>\n\n\n\n<p>Some hosting sites provide an auto-installer to allow you to install scripts and CMS with one click or have hosting plans for this CMS.<\/p>\n\n\n\n<p>In our case you can install Drupal with Softaculous or order a&nbsp;<a href=\"https:\/\/supporthost.com\/drupal-hosting\/\">Drupal hosting<\/a>&nbsp;plan with the CMS already installed.<\/p>\n\n\n\n<p class=\"note\">Keep in mind that with SupportHost you can order any hosting plan and indicate the CMS you want pre-installed when ordering.<\/p>\n\n\n\n<p>Do you want to test before subscribing to a plan?&nbsp;Take advantage of our&nbsp;<a href=\"https:\/\/supporthost.com\/free-hosting\/\">free hosting<\/a>&nbsp;and you can try the service without obligation for 14 days.<\/p>\n\n\n\n<p>In this guide we will see different methods to install Drupal:<\/p>\n\n\n\n<ul>\n<li>how to install with Softaculous;<\/li>\n\n\n\n<li>how to do manual installation;<\/li>\n\n\n\n<li>how to install locally with XAMMP.<\/li>\n<\/ul>\n\n\n\n<p>Before starting, let&#8217;s see what the&nbsp;<strong>requirements<\/strong>&nbsp;of this CMS are.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"drupal-requirements\">Drupal requirements<\/h3>\n\n\n\n<p>As we have also seen in the guide to&nbsp;<a href=\"https:\/\/supporthost.com\/what-is-drupal\/\">what Drupal is<\/a>, to install the CMS we must meet the following requirements.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"127\" height=\"167\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-icon-logo.png\" alt=\"Drupal Icon Logo\" class=\"wp-image-30440\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-icon-logo.png 127w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-icon-logo-48x63.png 48w\" sizes=\"auto, (max-width: 127px) 100vw, 127px\" \/><\/figure>\n\n\n\n<p><strong>Free Space<\/strong>: Approximately 100 MB.<\/p>\n\n\n\n<p><strong>PHP version<\/strong>: PHP 7.3 or higher.<\/p>\n\n\n\n<p><strong>Web server<\/strong>: Apache 2.4.7 or higher \/ Nginx 0.7 or higher \/ Microsoft IIS 5, 6, 7, 8 or 10.<\/p>\n\n\n\n<p><strong>Databases<\/strong>: MySQL 5.7.8, PostgreSQL 10.0 or SQLite 3.26.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-drupal-with-softaculous\">Install Drupal with Softaculous<\/h2>\n\n\n\n<p><a href=\"https:\/\/supporthost.com\/softaculous\/\">Softaculous<\/a>&nbsp;is software that we ship with all of our plans from&nbsp;<a href=\"https:\/\/supporthost.com\/shared-hosting\/\">shared hosting<\/a>&nbsp;to dedicated&nbsp;<a href=\"https:\/\/supporthost.com\/vps-cloud-hosting\/\">VPS cloud hosting<\/a>&nbsp;plans and&nbsp;<a href=\"https:\/\/supporthost.com\/dedicated-servers\/\">dedicated servers<\/a>.<\/p>\n\n\n\n<p>With this auto-installer you can easily install hundreds of scripts.<\/p>\n\n\n\n<p>Let&#8217;s see how to use it to install Drupal.<\/p>\n\n\n\n<p>To open Softaculous we just need&nbsp;<a href=\"https:\/\/supporthost.com\/tutorial\/cpanel-login\/\">to access cPanel<\/a>&nbsp;and click on&nbsp;<em>Softaculous Apps Installer<\/em>&nbsp;from the&nbsp;<em>Software<\/em>&nbsp;section.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"414\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-softaculous-app-installer-tab-1024x414.png\" alt=\"Cpanel Softaculous App Installer Tab\" class=\"wp-image-30441\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-softaculous-app-installer-tab-1024x414.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-softaculous-app-installer-tab-300x121.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-softaculous-app-installer-tab-768x310.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-softaculous-app-installer-tab-120x49.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-softaculous-app-installer-tab.png 1175w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>We use the search bar to find&nbsp;<em>Drupal<\/em>&nbsp;and then click on the blue&nbsp;<em>Install<\/em>&nbsp;button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"523\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-with-softaculous-1024x523.png\" alt=\"Install Drupal With Softaculous\" class=\"wp-image-30442\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-with-softaculous-1024x523.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-with-softaculous-300x153.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-with-softaculous-768x392.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-with-softaculous-120x61.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-with-softaculous.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>We will be prompted to enter the information necessary for the installation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"software-settings\">Software Settings<\/h3>\n\n\n\n<p>From this section we can choose the URL where Drupal will be installed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"478\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-software-setup-1024x478.png\" alt=\"Install Drupal Software Setup\" class=\"wp-image-30443\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-software-setup-1024x478.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-software-setup-300x140.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-software-setup-768x358.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-software-setup-120x56.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-software-setup.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Choose protocol<\/strong>: if available choose https.&nbsp;Note that you must have an&nbsp;<a href=\"https:\/\/supporthost.com\/tutorial\/free-ssl-certificate\/\">SSL certificate<\/a>&nbsp;installed on your site in order to use this protocol.<\/p>\n\n\n\n<p><strong>Choose the domain<\/strong>: from the drop-down menu we can select the domain or subdomain in which to install the CMS.<\/p>\n\n\n\n<p><strong>In the folder<\/strong>: if we want to install the CMS in the root of the domain we leave the field empty.<\/p>\n\n\n\n<p><strong>Choose the version you want to install<\/strong>: from the drop-down menu we select the version, for example 9.3.13.<\/p>\n\n\n\n<p><strong>CRON task<\/strong>: From here we can define the time frame for the&nbsp;<a href=\"https:\/\/supporthost.com\/tutorial\/cron-job\/\">cron job<\/a>.&nbsp;If you don&#8217;t know how to change the values, it is recommended to use the default values.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"site-settings-and-admin-account\">Site settings and admin account<\/h3>\n\n\n\n<p>From these two sections we can set the&nbsp;<strong>site name<\/strong>&nbsp;and create the administrator account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"417\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-site-settings-and-admin-account-1024x417.png\" alt=\"Installare Drupal Site Settings And Admin Account\" class=\"wp-image-30444\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-site-settings-and-admin-account-1024x417.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-site-settings-and-admin-account-300x122.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-site-settings-and-admin-account-768x313.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-site-settings-and-admin-account-120x49.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-site-settings-and-admin-account.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Username Admin<\/strong>: enter the username of the administrator.<\/p>\n\n\n\n<p><strong>Admin Password<\/strong>: Enter the admin password.&nbsp;These data, username and password, will be required to access the Drupal administration panel.<\/p>\n\n\n\n<p><strong>Email admin<\/strong>: insert the email address.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"advanced-options\">Advanced options<\/h3>\n\n\n\n<p>From the advanced options section we can change the&nbsp;<strong>name of the database<\/strong>&nbsp;associated with our Drupal installation.<\/p>\n\n\n\n<p>We can also turn off update notifications, but it&#8217;s not recommended.&nbsp;For site security it is always best to&nbsp;<a href=\"https:\/\/supporthost.com\/upgrade-drupal\/\">upgrade Drupal<\/a>&nbsp;when a new update is released.<\/p>\n\n\n\n<p>From here we can also change the prefix of the database tables and set up automatic backups with Softaculous.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"542\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-advanced-configuration-settings-1024x542.png\" alt=\"Install Drupal Advanced Configuration Settings\" class=\"wp-image-30445\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-advanced-configuration-settings-1024x542.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-advanced-configuration-settings-300x159.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-advanced-configuration-settings-768x406.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-advanced-configuration-settings-120x63.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-advanced-configuration-settings.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>We can usually leave the default settings for the advanced options.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"start-the-installation\">Start the installation<\/h3>\n\n\n\n<p>After entering all the data we can start the installation by clicking on the&nbsp;<strong>Install<\/strong>&nbsp;button at the bottom of the page.<\/p>\n\n\n\n<p>After the process is completed, we will see a notice like this that brings us the links to access the site and the administration panel.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"466\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-installation-complete-1024x466.png\" alt=\"Drupal Installation Complete\" class=\"wp-image-30446\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-installation-complete-1024x466.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-installation-complete-300x137.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-installation-complete-768x349.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-installation-complete-120x55.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-installation-complete.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>By clicking on the address next to&nbsp;<em>admin URL<\/em>&nbsp;we will be redirected to the&nbsp;<strong>login<\/strong>&nbsp;page to access the back-end.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"428\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-backend-login.png\" alt=\"Drupal Backend Login\" class=\"wp-image-30447\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-backend-login.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-backend-login-300x125.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-backend-login-768x321.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-backend-login-120x50.png 120w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-drupal-manually\">Install Drupal manually<\/h2>\n\n\n\n<p>Installing Drupal manually involves the following steps:<\/p>\n\n\n\n<ul>\n<li>download CMS files;<\/li>\n\n\n\n<li>upload files to the server;<\/li>\n\n\n\n<li>create the database;<\/li>\n\n\n\n<li>start the installation.<\/li>\n<\/ul>\n\n\n\n<p>Let&#8217;s see how to proceed one step at a time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"download-the-cms-files\">Download the CMS files<\/h3>\n\n\n\n<p>To download Drupal, just connect to the&nbsp;<a href=\"https:\/\/www.drupal.org\/download\" target=\"_blank\" rel=\"noreferrer noopener\">Download<\/a>&nbsp;section of the site.&nbsp;From here we can download the .zip or tar.gz archive with the CMS files.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"553\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-drupal.png\" alt=\"Download Drupal\" class=\"wp-image-30448\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-drupal.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-drupal-300x162.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-drupal-768x415.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-drupal-117x63.png 117w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>By clicking on&nbsp;<em>Download Drupal zip<\/em>&nbsp;or&nbsp;<em>Download tar.gz<\/em>&nbsp;we will download the latest version of the software which is currently 9.3.13.<\/p>\n\n\n\n<p>If, on the other hand, we wanted to download a previous version, just click on&nbsp;<em>Read release note<\/em>&nbsp;and then click on&nbsp;<em>Releases<\/em>.<\/p>\n\n\n\n<p>From here we will be able to access previous versions and download the one we want.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"647\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-releases-download.png\" alt=\"Drupal Releases Download\" class=\"wp-image-30449\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-releases-download.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-releases-download-300x190.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-releases-download-768x485.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-releases-download-100x63.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"upload-files-to-the-server\">Upload files to the server<\/h3>\n\n\n\n<p>After downloading Drupal, we can upload the files to the server.<\/p>\n\n\n\n<p>The files must be uploaded to the directory where we want to install Drupal, for example in the root of the domain (public_html).<\/p>\n\n\n\n<p>To upload files we can use different methods:<\/p>\n\n\n\n<ul>\n<li>the file manager, for example the&nbsp;cPanel&nbsp;<a href=\"https:\/\/supporthost.com\/tutorial\/file-manager\/\">file manager;<\/a><\/li>\n\n\n\n<li>an FTP client like&nbsp;<a href=\"https:\/\/supporthost.com\/filezilla\/\">FileZilla<\/a>&nbsp;or&nbsp;<a href=\"https:\/\/supporthost.com\/cyberduck\/\">Cyberduck<\/a>.<\/li>\n<\/ul>\n\n\n\n<p>In any case we can upload the .zip (or tar.gz) file and then extract the archive on the server.<\/p>\n\n\n\n<p>For the purpose of this guide we will see how to do it with the cPanel file manager.<\/p>\n\n\n\n<p>We access the file manager and open the folder where we want to install Drupal.&nbsp;In our case we will use a subdomain.<\/p>\n\n\n\n<p>Load the compressed file that we have downloaded into this folder: click on&nbsp;<em>Upload<\/em>&nbsp;and then select the file or drag it to the indicated area.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"449\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/upload-drupal-with-a-file-manager-1024x449.png\" alt=\"Upload Drupal With A File Manager\" class=\"wp-image-30450\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/upload-drupal-with-a-file-manager-1024x449.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/upload-drupal-with-a-file-manager-300x132.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/upload-drupal-with-a-file-manager-768x337.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/upload-drupal-with-a-file-manager-120x53.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/upload-drupal-with-a-file-manager.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>We wait for the upload to be completed and go back by clicking on the link below&nbsp;<em>Return to &#8220;&#8230;&#8221;<\/em>.<\/p>\n\n\n\n<p>Now we have to extract the archive, right click on the file and then click on&nbsp;<em>Extract<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"444\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/extract-drupal-zip-file-with-a-file-manager-1024x444.png\" alt=\"Extract Drupal Zip File With A File Manager\" class=\"wp-image-30451\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/extract-drupal-zip-file-with-a-file-manager-1024x444.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/extract-drupal-zip-file-with-a-file-manager-300x130.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/extract-drupal-zip-file-with-a-file-manager-768x333.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/extract-drupal-zip-file-with-a-file-manager-120x52.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/extract-drupal-zip-file-with-a-file-manager.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The extracted files will be placed in a new folder called \u201c<em>drupal-x.x.xx<\/em>\u201c.&nbsp;We then need to move the contents of the folder so that the files are in the directory we want to use for the site.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"516\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/move-drupal-files-with-file-manager-1024x516.png\" alt=\"Move Drupal Files With File Manager\" class=\"wp-image-30452\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/move-drupal-files-with-file-manager-1024x516.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/move-drupal-files-with-file-manager-300x151.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/move-drupal-files-with-file-manager-768x387.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/move-drupal-files-with-file-manager-120x61.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/move-drupal-files-with-file-manager.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To do this, follow the steps shown in the screenshot above:<\/p>\n\n\n\n<ol style=\"list-style-type:1\">\n<li>open the folder and select all the files by clicking on&nbsp;<em>Select all<\/em>;<\/li>\n\n\n\n<li>click on&nbsp;<em>Move<\/em>;<\/li>\n\n\n\n<li>we enter the path where we want to move the files;<\/li>\n\n\n\n<li>click on&nbsp;<em>Move files<\/em>.<\/li>\n<\/ol>\n\n\n\n<p>We can then delete the zip file and empty folder (<em>drupal-x.x.xx<\/em>).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create-the-database\">Create the database<\/h3>\n\n\n\n<p>At this point, before installing Drupal, we need to create a database.<\/p>\n\n\n\n<p>If you&#8217;re using cPanel, you can follow the step-by-step process in our tutorial on how to&nbsp;<a href=\"https:\/\/supporthost.com\/tutorial\/create-database\/\">create a database<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"406\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-create-a-new-database.png\" alt=\"Cpanel Create A New Database\" class=\"wp-image-30453\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-create-a-new-database.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-create-a-new-database-300x119.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-create-a-new-database-768x305.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/cpanel-create-a-new-database-120x48.png 120w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You will need to create a database and user and associate the user with the database.<\/p>\n\n\n\n<p>Remember to memorize the&nbsp;<a href=\"https:\/\/supporthost.com\/tutorial\/access-mysql-database\/\">access data to the database<\/a>, because you will need them during installation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"start-drupal-installation\">Start Drupal installation<\/h3>\n\n\n\n<p>To start installing Drupal we just need to connect to the address where we extracted the archive.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"choose-language\">Choose language<\/h4>\n\n\n\n<p>First we will be asked to choose the language.&nbsp;Select it from the drop-down menu and click on&nbsp;<em>Save and continue<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"413\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-choose-language.png\" alt=\"Install Drupal Choose Language\" class=\"wp-image-30454\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-choose-language.png 818w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-choose-language-300x151.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-choose-language-768x388.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-choose-language-120x61.png 120w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"choosing-a-profile\">Choosing a profile<\/h4>\n\n\n\n<p>The next step will be to choose the type of installation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"496\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-chose-profile.png\" alt=\"Install Drupal Chose Profile\" class=\"wp-image-30455\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-chose-profile.png 818w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-chose-profile-300x182.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-chose-profile-768x466.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-chose-profile-104x63.png 104w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><\/figure>\n\n\n\n<p><strong>Standard<\/strong>: it is the basic type of installation that also includes some features already configured, suitable for those who are starting to use Drupal.&nbsp;(<strong>Recommended option<\/strong>)<\/p>\n\n\n\n<p><strong>Minimal<\/strong>: it is an installation more suitable for expert users that allows us to define the functions we need later.<\/p>\n\n\n\n<p><strong>Demo<\/strong>: allows us to install an example site.<\/p>\n\n\n\n<p>Click on&nbsp;<em>Save and continue<\/em>&nbsp;to proceed, in the next step the requirements will be automatically verified.<\/p>\n\n\n\n<p>If you get an error message while checking the requirements, check the&nbsp;<a href=\"https:\/\/supporthost.com\/install-drupal\/#problems_during_installation_of_drupal\">troubleshooting during installation<\/a>&nbsp;section.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"database-configuration\">Database configuration<\/h4>\n\n\n\n<p>In this step we have to select the type of database and enter the required data.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"764\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-locally-database-configuration.png\" alt=\"Install Drupal Locally Database Configuration\" class=\"wp-image-30456\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-locally-database-configuration.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-locally-database-configuration-300x224.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-locally-database-configuration-768x573.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-locally-database-configuration-84x63.png 84w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Database name<\/strong>: we enter the name of the database we have created.<\/p>\n\n\n\n<p><strong>Database username<\/strong>: enter the username associated with the database.<\/p>\n\n\n\n<p><strong>Database password<\/strong>: we enter the password we have chosen.<\/p>\n\n\n\n<p>In this screen we will also see the&nbsp;<strong>advanced options<\/strong>.&nbsp;From here you can specify the hostname (typically&nbsp;<em>localhost<\/em>), the port number and the table name prefix.<\/p>\n\n\n\n<p>We can generally leave the default options, unless the provider has given you specific instructions.<\/p>\n\n\n\n<p>Click on&nbsp;<em>Save and continue<\/em>&nbsp;and the installation of the site will start.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"416\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-install-site.png\" alt=\"Installare Drupal Install Site\" class=\"wp-image-30457\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-install-site.png 818w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-install-site-300x153.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-install-site-768x391.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/installare-drupal-install-site-120x61.png 120w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"site-configuration\">Site configuration<\/h4>\n\n\n\n<p>In this step we can configure some basic information of the site.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"484\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-configure-site-settings-1024x484.png\" alt=\"Install Drupal Configure Site Settings\" class=\"wp-image-30458\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-configure-site-settings-1024x484.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-configure-site-settings-300x142.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-configure-site-settings-768x363.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-configure-site-settings-120x57.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-configure-site-settings.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"site-information\">Site information<\/h5>\n\n\n\n<p>Enter the&nbsp;<strong>site name<\/strong>&nbsp;and&nbsp;associated&nbsp;<strong>email address<\/strong>.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"site-maintenance-profile\">Site maintenance profile<\/h5>\n\n\n\n<p>From this section we can create the site administrator profile by entering&nbsp;<strong>username<\/strong>,&nbsp;<strong>password<\/strong>&nbsp;and&nbsp;<strong>email address<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"557\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-site-maintenance-account-1024x557.png\" alt=\"Drupal Site Maintenance Account\" class=\"wp-image-30459\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-site-maintenance-account-1024x557.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-site-maintenance-account-300x163.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-site-maintenance-account-768x418.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-site-maintenance-account-116x63.png 116w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/drupal-site-maintenance-account.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"regional-settings\">Regional settings<\/h5>\n\n\n\n<p><strong>Default country<\/strong>: we choose the country from the drop-down menu.<\/p>\n\n\n\n<p><strong>Default time zone<\/strong>: we select the city to set the time zone.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"update-notifications\">Update notifications<\/h5>\n\n\n\n<p>We can choose whether to activate notifications for updates and receive notifications by email.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"finishing-the-installation\">Finishing the installation<\/h4>\n\n\n\n<p>Click on&nbsp;<em>Save and continue<\/em>&nbsp;and the installation will be completed.<\/p>\n\n\n\n<p>We will then be sent back to the front end of the site and will see a notice like this letting us know that we have installed Drupal correctly.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/manal-drupal-installation-complete-1024x495.png\" alt=\"Manal Drupal Installation Complete\" class=\"wp-image-30460\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/manal-drupal-installation-complete-1024x495.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/manal-drupal-installation-complete-300x145.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/manal-drupal-installation-complete-768x371.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/manal-drupal-installation-complete-120x58.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/manal-drupal-installation-complete.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-drupal-locally-with-xampp\">Install Drupal locally with XAMPP<\/h2>\n\n\n\n<p>To install Drupal locally we can use a stack like XAMPP or&nbsp;<a href=\"https:\/\/supporthost.com\/mamp\/\">MAMP<\/a>.<\/p>\n\n\n\n<p>In this case we will use XAMPP which is compatible with Windows, Linux and macOS.<\/p>\n\n\n\n<p>In order to install Drupal locally we will have to:<\/p>\n\n\n\n<ul>\n<li>install XAMPP<\/li>\n\n\n\n<li>download Drupal files from the site<\/li>\n\n\n\n<li>create a database<\/li>\n\n\n\n<li>start the installation.<\/li>\n<\/ul>\n\n\n\n<p>Here&#8217;s how to proceed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-xampp\">Install XAMPP<\/h3>\n\n\n\n<p>To install XAMPP we must connect to the&nbsp;<a href=\"https:\/\/www.apachefriends.org\/it\/index.html\" target=\"_blank\" rel=\"noreferrer noopener\">Apache Friends<\/a>&nbsp;site and download the version of the program compatible with our operating system.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"555\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-xampp-for-your-os.png\" alt=\"Download Xampp For Your Os\" class=\"wp-image-30461\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-xampp-for-your-os.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-xampp-for-your-os-300x163.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-xampp-for-your-os-768x416.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-xampp-for-your-os-116x63.png 116w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After that we just need to follow the wizard to complete the installation.<\/p>\n\n\n\n<p>After opening XAMPP, the first thing to do is activate the&nbsp;<em>Apache<\/em>&nbsp;and&nbsp;<em>MySQL<\/em>&nbsp;modules by clicking on&nbsp;<em>Start<\/em>&nbsp;next to the respective items.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"832\" height=\"542\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/xampp-start-apache-and-my-sql-service.png\" alt=\"Xampp Start Apache And My Sql Service\" class=\"wp-image-30462\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/xampp-start-apache-and-my-sql-service.png 832w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/xampp-start-apache-and-my-sql-service-300x195.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/xampp-start-apache-and-my-sql-service-768x500.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/xampp-start-apache-and-my-sql-service-97x63.png 97w\" sizes=\"auto, (max-width: 832px) 100vw, 832px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"download-drupal\">Download Drupal<\/h3>\n\n\n\n<p>By connecting to the download section of drupal.org we can download the CMS files.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"553\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-drupal.png\" alt=\"Download Drupal\" class=\"wp-image-30448\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-drupal.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-drupal-300x162.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-drupal-768x415.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/download-drupal-117x63.png 117w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>We then need to extract the files inside the&nbsp;<em>htdocs<\/em>&nbsp;folder.<\/p>\n\n\n\n<p>The path to this folder on Windows is usually:<\/p>\n\n\n\n<p>C:\\xampp\\htdocs<\/p>\n\n\n\n<p>Inside the htdocs folder let&#8217;s create a new one and call it \u201cdrupal\u201d.&nbsp;We then move the contents of the .zip file into this new folder.<\/p>\n\n\n\n<p>Before starting the installation, we need to create a database.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create-a-database\">Create a database<\/h3>\n\n\n\n<p>To create a database for the site we can use&nbsp;<a href=\"https:\/\/supporthost.com\/phpmyadmin\/\">phpMyAdmin<\/a>, just open the browser and connect to localhost\/phpmyadmin\/.<\/p>\n\n\n\n<p>Remember that you must have activated the Apache&nbsp;and&nbsp;<em>MySQL<\/em>&nbsp;modules&nbsp;from XAMPP.<\/p>\n\n\n\n<p>From phpMyAdmin click on&nbsp;<em>New<\/em>&nbsp;to create a new database.<\/p>\n\n\n\n<p>We enter the name of the database, for example&nbsp;<em>drupal<\/em>, and then click on&nbsp;<em>Create<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"269\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/phpmyadmin-create-a-new-database-for-drupal.png\" alt=\"Phpmyadmin Create A New Database For Drupal\" class=\"wp-image-30463\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/phpmyadmin-create-a-new-database-for-drupal.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/phpmyadmin-create-a-new-database-for-drupal-300x79.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/phpmyadmin-create-a-new-database-for-drupal-768x202.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/phpmyadmin-create-a-new-database-for-drupal-120x32.png 120w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"start-drupal-installation-locally\">Start Drupal installation locally<\/h3>\n\n\n\n<p>To start the installation, just connect to the&nbsp;<em>localhost\/drupal\/<\/em>&nbsp;address.<\/p>\n\n\n\n<p>Note that \u201cdrupal\u201d in this case is the folder name we used.<\/p>\n\n\n\n<p>If you used a different name you will need to change the address to match the folder name:&nbsp;<em>localhost\/folder-name\/<\/em>.<\/p>\n\n\n\n<p>We can then follow the installation wizard.&nbsp;For all the details you can follow the steps indicated in the&nbsp;<a href=\"https:\/\/supporthost.com\/install-drupal\/#start_installation_of_drupal\"><em>Starting the Drupal<\/em><\/a>&nbsp;installation section of the manual installation chapter of this guide.<\/p>\n\n\n\n<p>When we get to the requirement check step there may be alerts like the one in this example.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"447\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-php-opcode-caching-error-1024x447.png\" alt=\"Install Drupal Php Opcode Caching Error\" class=\"wp-image-30464\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-php-opcode-caching-error-1024x447.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-php-opcode-caching-error-300x131.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-php-opcode-caching-error-768x335.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-php-opcode-caching-error-120x52.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-php-opcode-caching-error.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In this case we can resolve the warnings and click on&nbsp;<em>Retry<\/em>&nbsp;or continue by clicking on&nbsp;<em>Continue anyway<\/em>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"database-configuration-1\">Database configuration<\/h4>\n\n\n\n<p>At this step we can enter the data for the connection to the database.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"764\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-locally-database-configuration-1.png\" alt=\"Install Drupal Locally Database Configuration 1\" class=\"wp-image-30465\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-locally-database-configuration-1.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-locally-database-configuration-1-300x224.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-locally-database-configuration-1-768x573.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/install-drupal-locally-database-configuration-1-84x63.png 84w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Database name<\/strong>: we enter the name&nbsp;of the database we have created, in our case &#8220;drupal&#8221;.<\/p>\n\n\n\n<p><strong>Database username<\/strong>: we can use the name of the user logged into the database, usually root.<\/p>\n\n\n\n<p><strong>Database password<\/strong>: in this case we can leave the field blank.<\/p>\n\n\n\n<p>At this point we just have to complete the installation and enter the requested information in the&nbsp;<em>Site configuration<\/em>&nbsp;section.<\/p>\n\n\n\n<p>At the end of the installation we will be redirected to the front-end of our new site created with Drupal.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/local-drupal-installation-complete-1024x495.png\" alt=\"Local Drupal Installation Complete\" class=\"wp-image-30466\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/local-drupal-installation-complete-1024x495.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/local-drupal-installation-complete-300x145.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/local-drupal-installation-complete-768x371.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/local-drupal-installation-complete-120x58.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2022\/11\/local-drupal-installation-complete.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"errors-installing-drupal-locally\">Errors installing Drupal locally<\/h3>\n\n\n\n<p>If you encounter warnings while installing Drupal locally, you need to make sure your system settings are correct.<\/p>\n\n\n\n<p>If necessary you can change the settings of the&nbsp;<strong>php.ini<\/strong>&nbsp;file.&nbsp;With XAMPP you will find the file at this path: C:\\xampp\\php\\php.ini.<\/p>\n\n\n\n<p>The recommended values \u200b\u200bfor&nbsp;<strong>local installation<\/strong>&nbsp;are as follows:<\/p>\n\n\n\n<ul>\n<li>max_execution_time = 600<\/li>\n\n\n\n<li>max_input_time = 600<\/li>\n\n\n\n<li>memory_limit = 512M<\/li>\n\n\n\n<li>post_max_size = 64M<\/li>\n\n\n\n<li>upload_max_filesize = 64M<\/li>\n\n\n\n<li>mysql.connect_timeout = 600.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"problems-installing-drupal\">Problems installing Drupal<\/h2>\n\n\n\n<p>In the previous section we saw which configuration to use to avoid problems with installing Drupal locally.<\/p>\n\n\n\n<p>In this section, however, we will see how to resolve errors during installation on the server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"problems-with-the-php-version\">Problems with the PHP version<\/h3>\n\n\n\n<p>If you get a warning that the PHP version of the server is not compatible with the Drupal version, you will need to change the version.<\/p>\n\n\n\n<p>With SupportHost you can change the&nbsp;<a href=\"https:\/\/supporthost.com\/tutorial\/php-version\/\">PHP version<\/a>&nbsp;directly from cPanel.&nbsp;In other cases if you cannot do it directly, you will have to contact your provider.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"unable-to-connect-to-database\">Unable to connect to database<\/h3>\n\n\n\n<p>If you come across the error stating \u201c<em>Failed to connect to your MySQL database server<\/em>\u201d there are problems connecting to the database.<\/p>\n\n\n\n<p>In this case, make sure that the information entered (username, password and database name) is correct.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>We have seen the different methods that we can follow to install Drupal on the server or locally.<\/p>\n\n\n\n<p>The installation process can be simplified with an auto-installer, but in some cases we may need to install the CMS manually.<\/p>\n\n\n\n<p>In conclusion we have also seen how to solve some of the problems that can occur during the installation.<\/p>\n\n\n\n<p>And you, were you able to install Drupal by following this guide?&nbsp;What method did you follow?&nbsp;Let us know in the comments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to know how to install Drupal on the server or locally, in this detailed guide you will find everything you are looking for. We will see how to install the CMS on the server with an auto-installer, how to do it manually and locally and how to solve any problems. First let&#8217;s [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":43950,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[19],"tags":[],"class_list":["post-27226","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cms-and-plugins"],"acf":[],"_links":{"self":[{"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/posts\/27226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/comments?post=27226"}],"version-history":[{"count":4,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/posts\/27226\/revisions"}],"predecessor-version":[{"id":43983,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/posts\/27226\/revisions\/43983"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/media\/43950"}],"wp:attachment":[{"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/media?parent=27226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/categories?post=27226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/tags?post=27226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}