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

5 replies

Trackbacks & Pingbacks

  1. […] Modify local Drupal site on Acquia AMP stack for upload to Server    The Top 3 Uses for Dropbox […]

  2. […] Move from Free to Paid Hosting    Modify local Drupal site on Acquia AMP stack for upload to Server […]

  3. […] Modify Local Drupal Site On Acquia AMP Stack For Upload To Server This was written by eve50. Posted on Tuesday, November 22, 2011, at 3:05 pm. Filed under Posts. Bookmark the permalink. Follow comments here with the RSS feed. Comments are closed, but you can leave a trackback. ‹ Add ‘MailChimp’ EMail Marketing To Your WordPress Blog […]

  4. […] Modify Local Drupal Site On Acquia AMP Stack For Upload To Server […]

  5. […] Modify Local Drupal Site On Acquia AMP Stack For Upload To Server […]

Comments are closed.