Installation of Joomla on Windows XP using Apache, Mysql and PHP

Post on 10-Apr-2015

15,016 views 1 download

description

Installation of Joomla content management system on Windows XP using Apache,Mysql and PHP.

transcript

Installation of Joomla on Windows XP

Rupesh Kumar Aa.rupeshkumar@gmail.com

Files Required

Versions used in this illustrationApache 2.2.2Php 5.2.8Mysql 4.1.11Joomla 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 greenarrow indicates apache service running. Feather with

a red dot indicates that apache service is stopped

Open httpd.conf file with anytext 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 .phpPHPIniDir “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 beginningof 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 lineextension=php_gd2.dll

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

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

Delete Semicolon (;) at the beginning of lineand 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 VariablesAnd 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 installationon Windows. Click Next.

Enter Site Name, admin’s email id, a newPassword for admin. Click “Install SampleData” (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 installationsite or “Admin” to login as Administrator

Newly installed Joomla site

Click “Administrator” to login as Admin

Enter joomla admin username & passwordand click “Login”

Joomla site administrator’s control panel

Thanks

Apache TeamPhp TeamMysql TeamJoomla! Team

Please send comments & suggestions toa.rupeshkumar@gmail.com