Installation of Drupal on Windows XP

97
Installation of Drupal on Windows XP Rupesh Kumar A [email protected]

description

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

Transcript of Installation of Drupal on Windows XP

Page 1: Installation of Drupal on Windows XP

Installation of Drupal on Windows XP

Rupesh Kumar [email protected]

Page 2: Installation of Drupal on Windows XP

Files Required

Versions used in this illustrationApache 2.2.2Php 5.2.8Mysql 4.1.11Drupal 6.8

Page 3: Installation of Drupal on Windows XP

Install Apache

Page 4: Installation of Drupal on Windows XP
Page 5: Installation of Drupal on Windows XP
Page 6: Installation of Drupal on Windows XP
Page 7: Installation of Drupal on Windows XP
Page 8: Installation of Drupal on Windows XP
Page 9: Installation of Drupal on Windows XP
Page 10: Installation of Drupal on Windows XP
Page 11: Installation of Drupal on Windows XP
Page 12: Installation of Drupal on Windows XP
Page 13: Installation of Drupal on Windows XP

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 greenarrow indicates apache service running. Feather with

a red dot indicates that apache service is stopped

Page 14: Installation of Drupal on Windows XP

Open httpd.conf file with anytext editor

Page 15: Installation of Drupal on Windows XP

add index.php here

Page 16: Installation of Drupal on Windows XP
Page 17: Installation of Drupal on Windows XP

add at the end the following code:LoadModule php5_module “c:/php/php5apache2_2.dll”

AddType application/x-httpd-php .phpPHPIniDir “c:/php”

Page 18: Installation of Drupal on Windows XP

Save the file

Page 19: Installation of Drupal on Windows XP

Extract Php files to C:\php

Page 20: Installation of Drupal on Windows XP
Page 21: Installation of Drupal on Windows XP

Extracted folder ‘php’

Page 22: Installation of Drupal on Windows XP

Extracted files in C:\php folder

Page 23: Installation of Drupal on Windows XP

Copy php.ini-recommended file

Page 24: Installation of Drupal on Windows XP

Paste it in the same folder

Page 25: Installation of Drupal on Windows XP

Rename it to php.ini

Page 26: Installation of Drupal on Windows XP
Page 27: Installation of Drupal on Windows XP

Open php.ini with a text editor

Page 28: Installation of Drupal on Windows XP

Delete semicolon (;) at the beginningof include_path line

Page 29: Installation of Drupal on Windows XP
Page 30: Installation of Drupal on Windows XP

Add “C:\Program Files\Apache Software Foundation\Apache2.2\htdocs”as doc_root

Page 31: Installation of Drupal on Windows XP
Page 32: Installation of Drupal on Windows XP

Add “C:\php\ext” as extension_dir

Page 33: Installation of Drupal on Windows XP
Page 34: Installation of Drupal on Windows XP

Delete Semicolon (;) at the beginning of lineextension=php_gd2.dll

Page 35: Installation of Drupal on Windows XP
Page 36: Installation of Drupal on Windows XP

Delete Semicolon (;) at the beginning of lineextension=php_mbstring.dll

Page 37: Installation of Drupal on Windows XP
Page 38: Installation of Drupal on Windows XP

Delete Semicolon (;) at the beginning of lineextension=php_mysql.dll

Page 39: Installation of Drupal on Windows XP
Page 40: Installation of Drupal on Windows XP

Delete Semicolon (;) at the beginning of lineand add “C:\TEMP” for session.save_path

Page 41: Installation of Drupal on Windows XP
Page 42: Installation of Drupal on Windows XP

Save the file and close

Page 43: Installation of Drupal on Windows XP

Set Environment Variable for Php

Go to Start > Settings > Control Panel

Page 44: Installation of Drupal on Windows XP

In Control Panel, double click on “System”.

In System Properties window,Click on “Advanced” Tab and

Click on “Environmental Variables”

Page 45: Installation of Drupal on Windows XP

In “Environmental Variables” window,Click on Path variable under“System Variable” and click

“Edit” button

Page 46: Installation of Drupal on Windows XP

Add C:\php; at the end of Variable value. Click OK

Click OK for Environment VariablesAnd System Properties

Page 47: Installation of Drupal on Windows XP

Test Php Installation

Open Notepad and type the following code:<html><body><?php phpinfo() ?></body></html>

Page 48: Installation of Drupal on Windows XP

Save the file as test.php in C:\Program Files\Apache Software Foundation\

Apache2.2\htdocs

Page 49: Installation of Drupal on Windows XP
Page 50: Installation of Drupal on Windows XP

Restart Apache:Right Click on feather icon on System Tray

and click on “Open Apache Monitor”

Page 51: Installation of Drupal on Windows XP

Click Restart and then Exit

Page 52: Installation of Drupal on Windows XP

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.

Page 53: Installation of Drupal on Windows XP

Install Mysql

Page 54: Installation of Drupal on Windows XP
Page 55: Installation of Drupal on Windows XP
Page 56: Installation of Drupal on Windows XP
Page 57: Installation of Drupal on Windows XP
Page 58: Installation of Drupal on Windows XP
Page 59: Installation of Drupal on Windows XP
Page 60: Installation of Drupal on Windows XP
Page 61: Installation of Drupal on Windows XP
Page 62: Installation of Drupal on Windows XP

Skip Sign-Up

Page 63: Installation of Drupal on Windows XP

Mysql Server Instance Configuration

Page 64: Installation of Drupal on Windows XP
Page 65: Installation of Drupal on Windows XP

Check this

Page 66: Installation of Drupal on Windows XP

Enter password for the root user

Page 67: Installation of Drupal on Windows XP
Page 68: Installation of Drupal on Windows XP
Page 69: Installation of Drupal on Windows XP
Page 70: Installation of Drupal on Windows XP

Open Command Prompt

Type cmd and click OK

Page 71: Installation of Drupal on Windows XP

Change directory to c:\mysql\bin

Page 72: Installation of Drupal on Windows XP

Log in to mysql as root user

Page 73: Installation of Drupal on Windows XP

Enter root password

Page 74: Installation of Drupal on Windows XP

The mysql console

Page 75: Installation of Drupal on Windows XP

Create the new database ‘drupal’

Page 76: Installation of Drupal on Windows XP

List the databases

Page 77: Installation of Drupal on Windows XP

Quit mysql console

Page 78: Installation of Drupal on Windows XP

Exit the command prompt

Page 79: Installation of Drupal on Windows XP

Extract drupal files to web server

Page 80: Installation of Drupal on Windows XP
Page 81: Installation of Drupal on Windows XP
Page 82: Installation of Drupal on Windows XP

Rename extracted folder to ‘drupal’ for simplicity

Page 83: Installation of Drupal on Windows XP

Copy default.settings.php in drupal\sites\default and paste in the same directory

Page 84: Installation of Drupal on Windows XP

Rename it to settings.php

Page 85: Installation of Drupal on Windows XP

Open Web browser

Enter http://localhost/drupal or http://localhost/drupal/install.php

Page 86: Installation of Drupal on Windows XP

Drupal Installation Stages

Page 87: Installation of Drupal on Windows XP
Page 88: Installation of Drupal on Windows XP

Database configuration

Enter:Database name

Database usernameDatabase password

Page 89: Installation of Drupal on Windows XP
Page 90: Installation of Drupal on Windows XP

Advanced options

Enter: Database host (if other than localhost)Database port (only if non-standard)

Table prefix (in case of multiple installation on the same database)

Click Save and continue

Page 91: Installation of Drupal on Windows XP

Configure site: Site information

Page 92: Installation of Drupal on Windows XP
Page 93: Installation of Drupal on Windows XP

Create Administrator account

Page 94: Installation of Drupal on Windows XP

Server settings

Click Save and continue

Page 95: Installation of Drupal on Windows XP

Drupal installation complete

Click on your new site

Page 96: Installation of Drupal on Windows XP

The New Drupal Site

Page 97: Installation of Drupal on Windows XP

Thanks

Apache TeamPhp TeamMysql TeamDrupal Team

Please send comments & suggestions [email protected]