Sign up for latest news and special reports!

* = required field

Modify local Drupal site on Acquia AMP stack for upload to Server

Assuming you have already installed Core Drupal on your Acquia AMP stack then you can upload your website to the web server after making the following modifications:

  1. Modify the settings file to reflect the new server name and database:
    • Change the “base_url” to reflect the url (domain name and path) of the Drupal installation on the server.
    • Change the “db_url” to reflect the database user on the server. You will also need to modify the host from “127.0.0.1” to “localhost”.
    • Change the “username” to reflect the database user on the server.
    • Change the “password” to reflect the database password on the server.
    • Change the “host” from “127.0.0.1” to “localhost”.
    Web Design Northern Ireland Settings

    settings.php


  2. Drupal can have multiple setting.php files: one for each Drupal installation and also a default settings.php.
  3. Web Design Northern Ireland Edit and Copy

    Edit settings.php and copy to Default Folder



  4. If you only have one Drupal installation on your target server then you can just keep the default settings.php file and delete the project specific settings.php. This can make troubleshooting any issues more straightforward as you can be certain that Drupal is using the settings.php file that you are expecting it to use.
Web Design Northern Ireland Default Settings

Default settings.php

Related Posts:


If you need a web designer in Northern Ireland please contact us at Abipo Web Design Northern Ireland.


Enter Your Mail Address

Related posts:

  1. Install Core Drupal on Acquia DAMP stack

5 comments to Modify local Drupal site on Acquia AMP stack for upload to Server

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*

CommentLuv badge