Just follow the easy step you have to be install the wordpress on your server easily:
Requirements To Run WordPress :
- PHP Verzion 4.2 or greater
- MYSQL Verzion 4.0 or greater
Step 1: Install a Local Server: In order to run any PHP/database application on a local computer, you need a local host (ie. Apache + MySQL). For Mac, use MAMP. For PC use XAMPP or WAMP. According to the requirment of the system go to link and install the system.
Step 2: Create a New Database : After you have to install the local host, run it and it take should you the start page. Now click onÂ PhpMyAdmin. In the phpMyAdmin page, create a new database.
When you previously set up the MySQL database you would have been provided with the following information:
- The name of the database
- The MySQL database username
- The password of the database
- The database host (in some cases)
We need to change the default information in the wp-config to include your information. The following will cover those changes line by line. Do not remove the single quotes.
define(‘DB_NAME’, ‘< style=”background-color: #dbe3e2;”>wordpress // The name of the database
Change the highlighted area of the line above to the actual name of your database that you were given when you set up the database.
define(‘DB_USER’, ‘ style=”background-color: #dbe3e2;”>username’ ; // Your MySQL username
Change the highlighted area above to the username you were given when you set up the database.
define(‘DB_PASSWORD’, ‘ style=”background-color: #dbe3e2;”>password ‘); // …and password
Change the highlighted area of the line above to the password you were given when you set up the database.
define(‘DB_HOST’, ‘ style=”background-color: #dbe3e2;”>localhost ‘); // chance you won’t need to change.
If you were given information for the database host, you will likely need to change the highlighted area of the line above to the data you were given when you set up the database. If you were not given this information it is very likely you can leave this set to localhost.
Once you have completed the above, SAVE the changes you have made.
Step 3: Download WordPress: Go to here and download the latest build of WordPress. Go to the htdocs folder (where you installed the MAMP), extract the wordpress.zip to a new folder (eg. mysite).
Step 4: Update wp-config.Php File : In the folder, rename the wp-config-sample.php to wp-config.php. Open wp-config.php and update the database details (db_name, user, password, host) according to your local server.
Step 5: Run install.php:With your browser go to the here and follow the instruction toÂ install wordpress.