Install drupal in localhost with xampp

My friend ask me to teach her how to install drupal cms in her laptop.

No internet, no lan connection. Just local install.

Here step by step guide Install drupal in localhost :

1. Download latest drupal from here.

drupal0 Install drupal in localhost with xampp

2. Save in xampp ‘htdocs’ folder and extract it. Make sure to rename it after.

drupal1 Install drupal in localhost with xampp

Extract Here

drupal2 Install drupal in localhost with xampp

3.  Start xampp

drupal4 Install drupal in localhost with xampp

4. Open http://lcoalhost/drupal, click ‘Install Drupal in English

drupal5 Install drupal in localhost with xampp

5. Ups, there is problem :-)

Requirements problem
The following error must be resolved before you can continue the installation process:
The Drupal installer requires that you create a settings file as part of the installation process.

1. Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php.
2. Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the on-line handbook.

More details about installing Drupal are available in INSTALL.txt.

Simple rename will help.

drupal61 Install drupal in localhost with xampp

6. Setting database, a few information that you might need to know.

- xampp information page for php located in this address :

http://localhost/xampp/phpinfo.php

-mysqli already supported in xampp.

drupal7 Install drupal in localhost with xampp

- Create database ‘drupal’ from phpmyadmin with address :

http://localhost/phpmyadmin/

drupal8 Install drupal in localhost with xampp

7. Edit setting.php

$db_url = ‘mysql://root:123456@localhost/drupal’;
$db_prefix = ”;
$base_url = ‘http://localhost/drupal’;

root = username that have access to drup database

123456 = password root acc

drupal = db name

8. Reopen http://localhost/drupal/install.php

Everything should set up properly, add an account.

drupal10 Install drupal in localhost with xampp

9.  Installation finish. Since my laptop don’t have email server installed I got error message.

Drupal installation complete

* warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in E:\xampplite\htdocs\drupal\includes\mail.inc on line 193.
* Unable to send e-mail. Please contact the site administrator if the problem persists.

Congratulations, Drupal has been successfully installed.

Please review the messages above before continuing on to your new site.

Ready to move on :-)

Setting on apache side on ‘Clean URL’ section can be read here.

Related Reading:

How to Install Drupal on your Home Windows ComputerUsing the following steps, I successfully installed Drupal 6.16 on three windows-based computers running Windows 7, 32-bit, with Explorer 8 and Norton... Read More >

Thanks for reading, if you think this post help you please consider to buy me a beer

Search Terms :

  • xampp drupal
  • drupal xampp
  • install drupal xampp
  • install drupal on xampp
  • installing drupal on xampp
  • drupal localhost
  • how to install drupal on xampp
  • install drupal localhost
  • localhost drupal
  • drupal on xampp
  • install drupal di localhost
  • drupal with xampp
  • installing drupal on localhost
  • drupal installation xampp
  • drupal xampp install
  • installing drupal xampp
  • xampplite drupal
  • how to install drupal on localhost
  • drupal install xampp
  • install drupal on localhost
    • Share/Bookmark
    Step By Step

    If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

    Comments

    2 Responses to “Install drupal in localhost with xampp”