Install Drupal on a hosted server

A very good introduction. I only wish to add some minor things.

When copying all the files to your webserver (e.g. via ftp) make sure you also copy the hidden files
  .htaccess
  .gitignore

If you don't copy .htaccess one thing that will not work is clean urls, see https://www.drupal.org/getting-started/clean-urls, section "Enabling Clean URLs in Drupal"

During setting up I had the PROBLEM:
  The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem....

SOLUTION:

  I had to create the folder /files in

<MY-SITE>/sites/default

and change the folder permission to 777 (read-write, read-write, read-write) of the /sites/default/files folder.

 

and another PROBLEM:
  The Drupal installer requires that you create a settings file as part of the installation process. Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php.

SOLUTION:
  copy the file

./sites/default/default.settings.php file to ./sites/default/settings.php.

and change permissions to 777 (read-write, read-write, read-write)

After installing the profile change back the file and folder permissions of ./sites/default/files and sites/default/settings.php to read-write, read-only read-only (I think 755).

 

and this PROBLEM:

  The directory sites/default/files exists but is not writable and could not be made writable.

SOLUTION:

Some hosted servers require the file permission of sites/default/files to be 777. You see if your permission setting is loose enough if you navigate your browser to

  <www.mySiteName>/?q=admin/config/media/file-system

if no error message appears the permissions are set correct. Otherwise above error message appears.

blog_tags: 

Comments

If you need to install Drupal with nginx on a centos server, you may find this article useful: https://www.rosehosting.com/blog/how-to-install-drupal-7-on-centos-7-wit...

Add new comment

Filtered HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <img> <br> <p> <span>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Use [collapse] and [/collapse] to create collapsible text blocks. [collapse collapsed] or [collapsed] will start with the block closed.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Code snippets in <code>...</code> or <source>...</source> automatically will be pretty printed.
  • Use [collapse] and [/collapse] to create collapsible text blocks. [collapse collapsed] or [collapsed] will start with the block closed.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Target Image