- Guarantee Web site malware removal (joomla, drupal, wordpress etc) - don't let your business get down due to virus, malware and blacklist problem.
- Recommended Web Hosting to help you doing business online with high performance. : Support ioncube, zend and all other hosting by default.
- Get free wordpress website transfer : up to 4 domains Find out more .... Click here to see other user testimonial
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.

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

Extract Here

3. Start xampp

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

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.

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.

- Create database ‘drupal’ from phpmyadmin with address :
http://localhost/phpmyadmin/

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.

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 posts:
- Step by step move drupal from localhost to drupal hosting : From Localhost to Online
- Step by Step Install Drupal on WampServer : Vhost and Clean URL
- Step by Step Install Drupal on Wamp : Add Domain
- Step by step move drupal from localhost to drupal hosting : Domain Setting
- Deprecated: Function ereg() is deprecated when install Drupal
2 Responses to “Install drupal in localhost with xampp”
Sorry, the comment form is closed at this time.

[...] Drupal on Wamp : Add Domain November 22nd, 2009 No Comments After reading my post about howto install drupal in localhost with xampp I receive email from a reader via contactform ask me to post about install drupal on Wamp with [...]
[...] I’m apologize for hostingformula.info reader as you may face some downtime issue. Actually one of my best friend told me about this issue when he want to access posting about drupal and xampp. [...]