Installation of Drupal with XAMPP on Windows XP Rupesh Kumar A [email_address]
Drupal <ul><li>An open source web based content management system. </li></ul><ul><li>Equipped with powerful blend of featu...
XAMPP <ul><li>XAMPP is a bundle of Apache, MySQL, PHP, FileZilla and many other utilities.  XAMPP is the ‘easiest’ way to ...
Files Required for Installation <ul><li>XAMPP </li></ul><ul><li>Drupal </li></ul>
Download Locations <ul><li>XAMPP –  www.apachefriends.org/en/xampp-windows.html   </li></ul><ul><li>Drupal –  http://www.d...
Steps in Installation <ul><li>Extract XAMPP files. </li></ul><ul><li>Setup XAMPP. </li></ul><ul><li>Run XAMPP Services (Ap...
Install XAMPP <ul><li>XAMPP may be installed in one of the following 3 ways: </li></ul><ul><ul><li>Self-extracting zip arc...
Extract XAMPP to a drive <ul><li>Double click the XAMPP self-extracting zip archive. </li></ul>
<ul><li>In the “Extract to:” column, type C: or click the  button and select C: drive and click “Extract” button. </li></ul>
Open the Extracted Folder C:xampp <ul><li>Run setup_xampp.bat to setup XAMPP. </li></ul>
Open XAMPP Control Panel <ul><li>Double click xampp-control.exe to open XAMPP Control Panel Application. </li></ul>
Start Apache and MySQL Services <ul><li>Click “Start” button next to Apache and MySQL. </li></ul>
Test XAMPP installation <ul><li>Open Web browser and type  http://localhost  or  http://127.0.0.1  in the address bar.  Th...
German Version
English Version
Create ‘drupal’ database <ul><li>On XAMPP Page, click ‘PhpMyAdmin’ and create a new database ‘drupal’ with charcter set ut...
Click phpMyAdmin
Database name: drupal MySQL charset: UTF-8 Unicode Click “Create” button
New database ‘drupal’ created <ul><li>Close phpMyAdmin. </li></ul>
Set password for MySQL <ul><li>The default user ‘root’ does not have password.  Set password for the user ‘root’.  In this...
Password changed.  Restart MySQL.
Restart MySQL in XAMPP Control Panel <ul><li>Click “Stop” and “Start” button next to MySql. </li></ul>
Extract drupal files to  C:xampphtdocs  folder
Rename extracted folder to ‘drupal’ for simplicity
Drupal settings <ul><li>Open ‘drupal’ folder, copy  default.settings.php  to the same folder and rename it to  settings.ph...
Copy  default.settings.php  and rename it to  settings.php
Open settings.php and enter  $db_url  and  $base_url Replace username by  root , password by  admin  & databasename  by  d...
$db_url = ‘mysql://root:admin@localhost/drupal’;
Now, scroll down and enter  $base_url   Replace http://www.example.com by  http://localhost/drupal   NOTE: Remove the # si...
$base_url = ‘http://localhost/drupal’; Save and Close settings.php file.
Install ‘Drupal’ site <ul><li>Open Web browser and enter  http://localhost/drupal/install.php  in the address bar </li></u...
<ul><li>Step 2: Verify requirements – drupal will check for required settings. </li></ul><ul><li>Step 3: Set up database –...
<ul><li>Step 5: Configure Site – Drupal requires a few details for configuring the site.  The following details are to be ...
Site Information
Administrator Account
Server Settings
Drupal Installation Complete! <ul><li>Drupal notifies about successful installation.  Click on  your new site  to view you...
New Drupal Site  ( http:// localhost / drupal )
Let’s change Site Information <ul><li>Go to  Administer  >  Site Configuration  >  Site Information </li></ul><ul><li>Ente...
Site Information
NOTES <ul><li>Please enter necessary parameters in settings.php before running drupal installation script. </li></ul><ul><...
Thanks To <ul><li>Drupal Team </li></ul><ul><li>XAMPP Team </li></ul>Please send comments & suggestions to  [email_address...
Upcoming SlideShare
Loading in...5
×

Installation of Drupal on Windows XP with XAMPP

53,242

Published on

This presentation demonstrates the installation of Drupal on Windows XP using the XAMPP web server.

Published in: Technology
24 Comments
16 Likes
Statistics
Notes
  • Thanks. It works :)
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Dear Neha,

    try http://localhost/drupal/install.php.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hi Rupesh

    I have made changes in setting.php file but after this i am getting error in the next step which is to open link:http://localhost/drupal

    Warning: Table 'drupal.access' doesn't exist query: SELECT 1 FROM access WHERE type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Warning: Table 'drupal.users' doesn't exist query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = 'knqvtf7anljd8h7jp7c1avmoj6' in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Warning: Table 'drupal.cache' doesn't exist query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Warning: Table 'drupal.variable' doesn't exist query: SELECT * FROM variable in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Notice: Undefined variable: variables in C:\xampp\htdocs\drupal\includes\bootstrap.inc on line 557

    Warning: Table 'drupal.cache' doesn't exist query: UPDATE cache SET data = '', created = 1323174482, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Notice: Undefined variable: variables in C:\xampp\htdocs\drupal\includes\bootstrap.inc on line 564

    Warning: Table 'drupal.system' doesn't exist query: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Warning: Table 'drupal.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Fatal error: Call to undefined function filter_xss() in C:\xampp\htdocs\drupal\includes\common.inc on line 655

    Warning: Table 'drupal.sessions' doesn't exist query: UPDATE sessions SET uid = 0, cache = 0, hostname = '127.0.0.1', session = '', timestamp = 1323174482 WHERE sid = 'knqvtf7anljd8h7jp7c1avmoj6' in C:\xampp\htdocs\drupal\includes\database.mysql.inc on line 135

    Please suggest how to solve this.

    Thanks
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Thanks for the presentation... was able to successfully install both xampp and drupal
    Just 2 issues that i faced during installation.
    1. when extracting the xampp-win32-1.7.4-VC6.7z, it did not create the log folder under c:\xampp\apache. Due to which the apache server would not start. After manually creating the folder was able to start the server
    2. During Drupal installation, at the end i got a fatal error - time out 115 . The error can be resolved by modifying the setting.php. Insert under php setting the following entry
    ini_set(’max_execution_time’,0);

    To redo the drupal installation, i dropped and recreated the drupal database by using the http://localhost/xampp/ - phpMyAdmin.

    Thanks for the instructions...
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • i got as far as slide 31, then was presented with a screen saying:

    Drupal already installed

    •To start over, you must empty your existing database.
    •To install to a different database, edit the appropriate settings.php file in the sites folder.
    •To upgrade an existing installation, proceed to the update script.
    •View your existing site.



    any ideas what I might have done wrong?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
53,242
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
1,403
Comments
24
Likes
16
Embeds 0
No embeds

No notes for slide

Installation of Drupal on Windows XP with XAMPP

  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 – www.apachefriends.org/en/xampp-windows.html </li></ul><ul><li>Drupal – http://www.drupal.org </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 http://127.0.0.1 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 charcter 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 http://www.example.com 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/install.php 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]
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×