Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Drupalxamppxp 1229687989691791 1


Published on

  • Thanks man, this worked wonders.
    Are you sure you want to  Yes  No
    Your message goes here

Drupalxamppxp 1229687989691791 1

  1. 1. Installation of Drupal with XAMPP on Windows XP Rupesh Kumar A [email_address]
  2. 2. Drupal <ul><li>An open source web based content management system. </li></ul><ul><li>Equipped with powerful blend of features. </li></ul><ul><li>Supports a variety of websites ranging from personal blogs to large community-driven websites. </li></ul>
  3. 3. XAMPP <ul><li>XAMPP is a bundle of Apache, MySQL, PHP, FileZilla and many other utilities. XAMPP is the ‘easiest’ way to test an AMP (Apache-MySQL-PHP) application. </li></ul><ul><li>NOTE: XAMPP is only intended for use as a local test server which is available on your own computer. It has been created for ease-of-use, but not for production level security. </li></ul>
  4. 4. Files Required for Installation <ul><li>XAMPP </li></ul><ul><li>Drupal </li></ul>
  5. 5. Download Locations <ul><li>XAMPP – </li></ul><ul><li>Drupal – </li></ul>
  6. 6. Steps in Installation <ul><li>Extract XAMPP files. </li></ul><ul><li>Setup XAMPP. </li></ul><ul><li>Run XAMPP Services (Apache and MySQL). </li></ul><ul><li>Create drupal database in MySQL. </li></ul><ul><li>Set password for MySQL. </li></ul><ul><li>Extract Drupal files. </li></ul><ul><li>Enter database and server settings. </li></ul><ul><li>Install Drupal Site and configure. </li></ul>
  7. 7. Install XAMPP <ul><li>XAMPP may be installed in one of the following 3 ways: </li></ul><ul><ul><li>Self-extracting zip archive </li></ul></ul><ul><ul><li>Windows MSI Installer </li></ul></ul><ul><ul><li>Source bundle </li></ul></ul><ul><li>XAMPP Self-extracting zip archive has been used in this example. </li></ul>
  8. 8. Extract XAMPP to a drive <ul><li>Double click the XAMPP self-extracting zip archive. </li></ul>
  9. 9. <ul><li>In the “Extract to:” column, type C: or click the button and select C: drive and click “Extract” button. </li></ul>
  10. 10. Open the Extracted Folder C:xampp <ul><li>Run setup_xampp.bat to setup XAMPP. </li></ul>
  11. 11. Open XAMPP Control Panel <ul><li>Double click xampp-control.exe to open XAMPP Control Panel Application. </li></ul>
  12. 12. Start Apache and MySQL Services <ul><li>Click “Start” button next to Apache and MySQL. </li></ul>
  13. 13. Test XAMPP installation <ul><li>Open Web browser and type http://localhost or in the address bar. The pre-built XAMPP page appears. Under “Sprachen” (Language) section, click on “English” </li></ul>
  14. 14. German Version
  15. 15. English Version
  16. 16. Create ‘drupal’ database <ul><li>On XAMPP Page, click ‘PhpMyAdmin’ and create a new database ‘drupal’ with character set utf8 (unicode) </li></ul>
  17. 17. Click phpMyAdmin
  18. 18. Database name: drupal MySQL charset: UTF-8 Unicode Click “Create” button
  19. 19. New database ‘drupal’ created <ul><li>Close phpMyAdmin. </li></ul>
  20. 20. Set password for MySQL <ul><li>The default user ‘root’ does not have password. Set password for the user ‘root’. In this example, password is admin . </li></ul><ul><li>To set MySQL password, open Web browser, go to http://localhost/security , scroll down and click on http://localhost/security/xamppsecurity.php . This will open Security Console. Enter password for MySQL and click “Password Changing” button. </li></ul>
  21. 21. Password changed. Restart MySQL.
  22. 22. Restart MySQL in XAMPP Control Panel <ul><li>Click “Stop” and “Start” button next to MySql. </li></ul>
  23. 23. Extract drupal files to C:xampphtdocs folder
  24. 24. Rename extracted folder to ‘drupal’ for simplicity
  25. 25. Drupal settings <ul><li>Open ‘drupal’ folder, copy default.settings.php to the same folder and rename it to settings.php . </li></ul><ul><li>Open settings.php with Wordpad and enter db_url and base_url . </li></ul>
  26. 26. Copy default.settings.php and rename it to settings.php
  27. 27. Open settings.php and enter $db_url and $base_url Replace username by root , password by admin & databasename by drupal
  28. 28. $db_url = ‘mysql://root:admin@localhost/drupal’;
  29. 29. Now, scroll down and enter $base_url Replace by http://localhost/drupal NOTE: Remove the # sign at the beginning of the line.
  30. 30. $base_url = ‘http://localhost/drupal’; Save and Close settings.php file.
  31. 31. Install ‘Drupal’ site <ul><li>Open Web browser and enter http://localhost/drupal in the address bar </li></ul><ul><li>Step 1: Choose language. Click ‘Install Drupal in English’ </li></ul>
  32. 32. <ul><li>Step 2: Verify requirements – drupal will check for required settings. </li></ul><ul><li>Step 3: Set up database – MySQL database has already been set up. </li></ul><ul><li>Step 4: Install Site – drupal will install the site. </li></ul>
  33. 33. <ul><li>Step 5: Configure Site – Drupal requires a few details for configuring the site. The following details are to be entered: </li></ul><ul><ul><li>Site Information </li></ul></ul><ul><ul><li>Administrator Account </li></ul></ul><ul><ul><li>Server Settings </li></ul></ul><ul><li>Enter the details and click “Save and Continue” button. </li></ul>
  34. 34. Site Information
  35. 35. Administrator Account
  36. 36. Server Settings
  37. 37. Drupal Installation Complete! <ul><li>Drupal notifies about successful installation. Click on your new site to view your site </li></ul>The mail server configuration warning may be ignored, as this is a local installation.
  38. 38. New Drupal Site ( http://localhost/drupal )
  39. 39. Let’s change Site Information <ul><li>Go to Administer > Site Configuration > Site Information </li></ul><ul><li>Enter Site Information and click “Save Configuration” button. </li></ul>
  40. 40. Site Information
  41. 41. NOTES <ul><li>Please enter necessary parameters in settings.php before running drupal installation script. </li></ul><ul><li>The settings.php should be writable, i.e., should not have ‘read only’ attribute. This is automatically taken care of by Windows when default.settings.php is copied as settings.php. In case the file is still read-only, right click on settings.php, go to Properties and uncheck the read-only attribute and click OK. </li></ul><ul><li>Drupal will set back this file to read-only after installation. </li></ul><ul><li>Set root password to MySQL. </li></ul><ul><li>Remember Drupal Administrator Account password. It is needed for logging in to Drupal every time. </li></ul>
  42. 42. Thanks To <ul><li>Drupal Team </li></ul><ul><li>XAMPP Team </li></ul>Please send comments & suggestions to [email_address]