Installation of Drupal on Windows XP


Published on

This presentation demonstrates the installation of Drupal content management system on Windows XP using Apache, Mysql and PHP. Filesize ~4.60 MB.

Published in: Education, Technology
  • can you give me the link or website that I used the correct file for 4 Files Required
    Versions used in this illustration
    Apache 2.2.2
    Php 5.2.8
    Mysql 4.1.11
    Drupal 6.8
    is it possible I download that reqirment from your website?
    Are you sure you want to  Yes  No
    Your message goes here
  • Hi thanks so much about your usefull slide I need to install drupal on my pc ,I tried to do it ,I installed the apache but ,about the step 2 ,I can't find the file for installing PHP as well how can I find the php.ini and install the php .
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Installation of Drupal on Windows XP

  1. 1. Installation of Drupal on Windows XP Rupesh Kumar A [email_address]
  2. 2. Files Required <ul><li>Versions used in this illustration </li></ul><ul><li>Apache 2.2.2 </li></ul><ul><li>Php 5.2.8 </li></ul><ul><li>Mysql 4.1.11 </li></ul><ul><li>Drupal 6.8 </li></ul>
  3. 3. Install Apache
  4. 13. Test Apache installation: Open any web browser and type http://localhost in the address bar and press Enter Feather icon on System Tray with a green arrow indicates apache service running. Feather with a red dot indicates that apache service is stopped
  5. 14. Open httpd.conf file with any text editor
  6. 15. add index.php here
  7. 17. add at the end the following code: LoadModule php5_module “c:/php/php5apache2_2.dll” AddType application/x-httpd-php .php PHPIniDir “c:/php”
  8. 18. Save the file
  9. 19. Extract Php files to C:php
  10. 21. Extracted folder ‘php’
  11. 22. Extracted files in C:php folder
  12. 23. Copy php.ini-recommended file
  13. 24. Paste it in the same folder
  14. 25. Rename it to php.ini
  15. 27. Open php.ini with a text editor
  16. 28. Delete semicolon (;) at the beginning of include_path line
  17. 30. Add “C:Program FilesApache Software FoundationApache2.2htdocs” as doc_root
  18. 32. Add “C:phpext” as extension_dir
  19. 34. Delete Semicolon (;) at the beginning of line extension=php_gd2.dll
  20. 36. Delete Semicolon (;) at the beginning of line extension=php_mbstring.dll
  21. 38. Delete Semicolon (;) at the beginning of line extension=php_mysql.dll
  22. 40. Delete Semicolon (;) at the beginning of line and add “C:TEMP” for session.save_path
  23. 42. Save the file and close
  24. 43. Set Environment Variable for Php Go to Start > Settings > Control Panel
  25. 44. In Control Panel, double click on “System”. In System Properties window, Click on “Advanced” Tab and Click on “Environmental Variables”
  26. 45. In “Environmental Variables” window, Click on Path variable under “ System Variable” and click “ Edit” button
  27. 46. Add C:php; at the end of Variable value. Click OK Click OK for Environment Variables And System Properties
  28. 47. Test Php Installation Open Notepad and type the following code: <html> <body> <?php phpinfo() ?> </body> </html>
  29. 48. Save the file as test.php in C:Program FilesApache Software Foundation Apache2.2htdocs
  30. 50. Restart Apache: Right Click on feather icon on System Tray and click on “Open Apache Monitor”
  31. 51. Click Restart and then Exit
  32. 52. Open web browser and type http:// localhost /test. php in the address bar and press Enter. The php information page appears Delete the file test.php soon after confirming about php installation. Do not leave it in web server.
  33. 53. Install Mysql
  34. 62. Skip Sign-Up
  35. 63. Mysql Server Instance Configuration
  36. 65. Check this
  37. 66. Enter password for the root user
  38. 70. Open Command Prompt Type cmd and click OK
  39. 71. Change directory to c:mysqlin
  40. 72. Log in to mysql as root user
  41. 73. Enter root password
  42. 74. The mysql console
  43. 75. Create the new database ‘drupal’
  44. 76. List the databases
  45. 77. Quit mysql console
  46. 78. Exit the command prompt
  47. 79. Extract drupal files to web server
  48. 82. Rename extracted folder to ‘drupal’ for simplicity
  49. 83. Copy default.settings.php in drupalsitesdefault and paste in the same directory
  50. 84. Rename it to settings.php
  51. 85. Open Web browser Enter http://localhost/drupal or http://localhost/drupal/install.php
  52. 86. Drupal Installation Stages
  53. 88. Database configuration Enter: Database name Database username Database password
  54. 90. Advanced options <ul><li>Enter: Database host (if other than localhost) </li></ul><ul><li>Database port (only if non-standard) </li></ul><ul><li>Table prefix (in case of multiple installation on the same database) </li></ul>Click Save and continue
  55. 91. Configure site: Site information
  56. 93. Create Administrator account
  57. 94. Server settings Click Save and continue
  58. 95. Drupal installation complete Click on your new site
  59. 96. The New Drupal Site
  60. 97. Thanks <ul><li>Apache Team </li></ul><ul><li>Php Team </li></ul><ul><li>Mysql Team </li></ul><ul><li>Drupal Team </li></ul><ul><li>Please send comments & suggestions to </li></ul><ul><li>[email_address] </li></ul>