Installation of Drupal on Windows XP using Apache, Mysql and PHP
-
Upload
rupesh-kumar-a -
Category
Documents
-
view
7.524 -
download
3
description
Transcript of Installation of Drupal on Windows XP using Apache, Mysql and PHP
![Page 2: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/2.jpg)
Files Required
Versions used in this illustration
Apache 2.2.2
Php 5.2.8
Mysql 4.1.11
Drupal 6.8
![Page 3: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/3.jpg)
Install Apache
![Page 4: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/4.jpg)
![Page 5: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/5.jpg)
![Page 6: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/6.jpg)
![Page 7: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/7.jpg)
![Page 8: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/8.jpg)
![Page 9: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/9.jpg)
![Page 10: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/10.jpg)
![Page 11: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/11.jpg)
![Page 12: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/12.jpg)
![Page 13: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/13.jpg)
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 using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/14.jpg)
Open httpd.conf file with anytext editor
![Page 15: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/15.jpg)
add index.php here
![Page 16: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/16.jpg)
![Page 17: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/17.jpg)
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 using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/18.jpg)
Save the file
![Page 19: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/19.jpg)
Extract Php files to C:\php
![Page 20: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/20.jpg)
![Page 21: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/21.jpg)
Extracted folder ‘php’
![Page 22: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/22.jpg)
Extracted files in C:\php folder
![Page 23: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/23.jpg)
Copy php.ini-recommended file
![Page 24: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/24.jpg)
Paste it in the same folder
![Page 25: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/25.jpg)
Rename it to php.ini
![Page 26: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/26.jpg)
![Page 27: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/27.jpg)
Open php.ini with a text editor
![Page 28: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/28.jpg)
Delete semicolon (;) at the beginningof include_path line
![Page 29: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/29.jpg)
![Page 30: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/30.jpg)
Add “C:\Program Files\Apache Software Foundation\Apache2.2\htdocs”as doc_root
![Page 31: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/31.jpg)
![Page 32: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/32.jpg)
Add “C:\php\ext” as extension_dir
![Page 33: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/33.jpg)
![Page 34: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/34.jpg)
Delete Semicolon (;) at the beginning of lineextension=php_gd2.dll
![Page 35: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/35.jpg)
![Page 36: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/36.jpg)
Delete Semicolon (;) at the beginning of lineextension=php_mbstring.dll
![Page 37: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/37.jpg)
![Page 38: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/38.jpg)
Delete Semicolon (;) at the beginning of lineextension=php_mysql.dll
![Page 39: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/39.jpg)
![Page 40: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/40.jpg)
Delete Semicolon (;) at the beginning of lineand add “C:\TEMP” for session.save_path
![Page 41: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/41.jpg)
![Page 42: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/42.jpg)
Save the file and close
![Page 43: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/43.jpg)
Set Environment Variable for Php
Go to Start > Settings > Control Panel
![Page 44: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/44.jpg)
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 using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/45.jpg)
In “Environmental Variables” window,Click on Path variable under“System Variable” and click
“Edit” button
![Page 46: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/46.jpg)
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 using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/47.jpg)
Test Php Installation
Open Notepad and type the following code:<html><body><?php phpinfo() ?></body></html>
![Page 48: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/48.jpg)
Save the file as test.php in C:\Program Files\Apache Software Foundation\
Apache2.2\htdocs
![Page 49: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/49.jpg)
![Page 50: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/50.jpg)
Restart Apache:Right Click on feather icon on System Tray
and click on “Open Apache Monitor”
![Page 51: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/51.jpg)
Click Restart and then Exit
![Page 52: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/52.jpg)
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 using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/53.jpg)
Install Mysql
![Page 54: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/54.jpg)
![Page 55: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/55.jpg)
![Page 56: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/56.jpg)
![Page 57: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/57.jpg)
![Page 58: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/58.jpg)
Change destination folder to C:\mysql
![Page 59: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/59.jpg)
![Page 60: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/60.jpg)
![Page 61: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/61.jpg)
![Page 62: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/62.jpg)
Skip Sign-Up
![Page 63: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/63.jpg)
Mysql Server Instance Configuration
![Page 64: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/64.jpg)
![Page 65: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/65.jpg)
Check this
![Page 66: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/66.jpg)
Enter password for the root user
![Page 67: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/67.jpg)
![Page 68: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/68.jpg)
![Page 69: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/69.jpg)
![Page 70: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/70.jpg)
Open Command Prompt
Type cmd and click OK
![Page 71: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/71.jpg)
Change directory to c:\mysql\bin
![Page 72: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/72.jpg)
Log in to mysql as root user
![Page 73: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/73.jpg)
Enter root password
![Page 74: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/74.jpg)
The mysql console
![Page 75: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/75.jpg)
Create the new database ‘drupal’
![Page 76: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/76.jpg)
List the databases
![Page 77: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/77.jpg)
Quit mysql console
![Page 78: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/78.jpg)
Exit the command prompt
![Page 79: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/79.jpg)
Extract drupal files to web server
![Page 80: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/80.jpg)
![Page 81: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/81.jpg)
![Page 82: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/82.jpg)
Rename extracted folder to ‘drupal’ for simplicity
![Page 83: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/83.jpg)
Copy default.settings.php in drupal\sites\default and paste in the same directory
![Page 84: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/84.jpg)
Rename it to settings.php
![Page 85: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/85.jpg)
Open Web browser
Enter http://localhost/drupal or http://localhost/drupal/install.php
![Page 86: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/86.jpg)
Drupal Installation Stages
![Page 87: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/87.jpg)
![Page 88: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/88.jpg)
Database configuration
Enter:Database name
Database usernameDatabase password
![Page 89: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/89.jpg)
![Page 90: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/90.jpg)
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 using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/91.jpg)
Configure site: Site information
![Page 92: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/92.jpg)
![Page 93: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/93.jpg)
Create Administrator account
![Page 94: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/94.jpg)
Server settings
Click Save and continue
![Page 95: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/95.jpg)
Drupal installation complete
Click on your new site
![Page 96: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/96.jpg)
The New Drupal Site
![Page 97: Installation of Drupal on Windows XP using Apache, Mysql and PHP](https://reader035.fdocuments.in/reader035/viewer/2022062404/55283d4449795917048b46c4/html5/thumbnails/97.jpg)
Thanks
Apache Team
Php Team
Mysql Team
Drupal Team
Please send comments & suggestions to