Tuesday, November 30, 2010

How to install wordpress in local host !!

Follow the step below : -

Step 1:
Wampserver is downloaded and installed.

Step 2:
Go to PhpMyAdmin create new database. For example, database name as 'DB_Wordpress'.

Step 3:
Wordpress is downloaded.

Step 4:
Unzip the file and the file should under 'www' folder (local disk(c) -> wamp -> www)

Step 5:
Set up wp-config.php
You can either rename the file by using (a) or (b).
(a) - Copy the file named wp-config-sample.php, paste and rename it as wp-config.php
(b) - Rename the file wp-config-sample.php to wp-config.php

Step 6:
Point a web browser to start the installation script.
visit: http://localhost/wordpress/wp-admin/install.php

Step 7:
WordPress can't find the wp-config.php file, because the file wp-config.php haven't edit. Wordpress will tell you and offer to try to create and edit the file itself. (You do this directly by loading wp-admin/setup-config.php in your web browser.) WordPress will ask you the database details and write them to a new wp-config.php file. If this works, you can go ahead with the installation;


Step 8:
The following screenshots show how the installation progresses.
Step 9:
Enter site by login.
That's It !!

If Step 7 is not works, you can go ahead with the following step:
Step 10 :
Open the file wp-config.php in a notepad++ or note pad.

Step 11:
Enter your database information under the section labeled

/** The name of the database for WordPress */
define('DB_NAME', 'DB_Wordpress');

/** MySQL database username */
define('DB_USER', 'root');

/** MySQL database password */
define('DB_PASSWORD', '');

/** MySQL hostname */
define('DB_HOST', 'localhost');

Save the wp-config.php file.

Step 12 :
Point a web browser to start the installation script.(Step 6)

No comments:

Post a Comment