Sunteți pe pagina 1din 100

Installation of Joomla on

Windows XP
Rupesh Kumar A
a.rupeshkumar@gmail.com
Files Required
Versions used in this illustration
Apache 2.2.2
Php 5.2.8
Mysql 4.1.11
Joomla 1.5.8
Install Apache
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
Open httpd.conf file with any
text editor
add index.php here
add at the end the following code:
LoadModule php5_module “c:/php/php5apache2_2.dll”
AddType application/x-httpd-php .php
PHPIniDir “c:/php”
Save the file
Extract Php files to C:\php
Extracted folder ‘php’
Extracted files in C:\php folder
Copy php.ini-recommended
file
Paste it in the same folder
Rename it to php.ini
Open php.ini with a text
editor
Delete semicolon (;) at the beginning
of include_path line
Add “C:\Program Files\Apache Software Foundation\Apache2.2\htdocs”
as doc_root
Add “C:\php\ext” as extension_dir
Delete Semicolon (;) at the beginning of line
extension=php_gd2.dll
Delete Semicolon (;) at the beginning of line
extension=php_mbstring.dll
Delete Semicolon (;) at the beginning of line
extension=php_mysql.dll
Delete Semicolon (;) at the beginning of line
and add “C:\TEMP” for session.save_path
Save the file and close
Set Environment Variable for
Php

Go to Start > Settings > Control Panel


In Control Panel,
double click on “System”.
In System Properties window,
Click on “Advanced” Tab and
Click on “Environmental Variables”
In “Environmental Variables” window,
Click on Path variable under
“System Variable” and click
“Edit” button
Add C:\php; at the end of
Variable value. Click OK
Click OK for Environment Variables
And System Properties
Test Php Installation

Open Notepad and type the following code:


<html>
<body>
<?php phpinfo() ?>
</body>
</html>
Save the file as test.php in
C:\Program Files\Apache Software Foundation\
Apache2.2\htdocs
Restart Apache:
Right Click on feather icon on System Tray
and click on “Open Apache Monitor”
Click Restart and then Exit
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.
Install Mysql
Change destination folder to c:\mysql
Mysql Server Instance
Configuration
Check this
Enter password for the root user
Open Command Prompt
Type cmd and click OK
Change directory to c:\mysql\bin
Enter mysql as root user
Enter root password
The mysql console
Create the new database ‘joomla’
List the databases
Quit mysql console
Exit the command prompt
Extract Joomla files to web server
Extract to C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\joomla
Extracted ‘joomla’ folder
Open Web browser

Enter http://localhost/joomla or
http://localhost/joomla/installation/index.php
Joomla Installation Stages
GNU GP License. Click Next
Enter Host name, database username & password, and database name
FTP Settings not required for installation
on Windows. Click Next.
Enter Site Name, admin’s email id, a new
Password for admin. Click “Install Sample
Data” (recommended for beginners)
Sample data installed successfully.
Click Next
Joomla installation complete.
Remove “installation” directory from
Web Server & then click Site or Admin
Open ‘joomla’ folder in web server &
remove “installation” directory
Click “Site” to view Joomla installation
site or “Admin” to login as Administrator
Newly installed Joomla site
Click “Administrator” to login as Admin
Enter joomla admin username & password
and click “Login”
Joomla site administrator’s control panel
Thanks
Apache Team
Php Team
Mysql Team
Joomla! Team

Please send comments & suggestions to


a.rupeshkumar@gmail.com

S-ar putea să vă placă și