banner



How To Install Apache On Windows Server 2012 R2

top

Install WordPress on Apache two.4 on Windows

In following forth with a previous post on installing Apache 2.4 PHP v.4 and MySQL 5.v.21 on Windows, I will explicate how to install WordPress three.3.1. The installation is very easy to accomplish.

First download the latest version of WordPress from here, which at the time of this post it is iii.3.ane. Next you will demand to unzip the file to c:\apache24\htdocs\ on your system.

Adjacent step is to create an empty database. To achieve this task open a command prompt.Login to mysql and create the DB (wordpress) and create the user account and grant access.

$ mysql -u root -p mysql> CREATE DATABASE `wordpress` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; mysql> CREATE USER 'wpadmin'@'localhost' IDENTIFIED Past 'P$ssw0rd!'; mysql> CREATE USER 'wpadmin'@'%' IDENTIFIED BY 'P$ssw0rd!'; mysql> GRANT ALL ON `wordpress` . * TO 'wpadmin>'@'localhost'; mysql> GRANT ALL ON `wordpress` . * TO 'wpadmin'@'%'; mysql> exit

Close the control prompt open up Windows Explorer and open C:\Apache24\htdocs\wordpress\wp-config-sample.php with a text editor of your choice.  Discover the following lines and change the database proper name to wordpress and your username and password for , which by default is root with no password.

// ** MySQL settings – You tin can become this info from your web host ** // /** The proper name of the database for WordPress */ define('DB_NAME', 'wordpress');  /** MySQL database username */ define('DB_USER', 'wpadmin');  /** MySQL database password */ define('DB_PASSWORD',  'P$ssw0rd');  /** MySQL hostname */ ascertain('DB_HOST', 'localhost');

Relieve the file as wp-config.php.

Open up your Net browser and type in http://localhost/wordpress/wp-admin/install.php and everything from there should run smoothly to complete the installation.

top

Source: http://lifeofageekadmin.com/install-wordpress-on-apache-2-4-on-windows/

Posted by: kempimind1946.blogspot.com

0 Response to "How To Install Apache On Windows Server 2012 R2"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel