Here's what I've done to install Wordpress locally on my host.
Requirements:
- Apache HTTP Server 2.2.x
- httpd-2.2.15-win32-x86-no_ssl.msi
- PHP 5
- php-5.3.3-Win32-VC6-x86
- you need to be using the VC6 release candidates, not the VC9. VC9 is for use with IIS
- MySQL
- mysql-essential-5.1.49-winx64.msi
- Wordpress
- wordpress-3.0.1-pt_PT.zip
Procedures:
- Install PHP
- config file php.ini
- short_open_tag = On
- magic_quotes_gpc = On
- Install local web server (Apache)
- config file httpd.conf
- Listen 127.0.0.1:8080
- Listen 8080
- Config PHP to Apache
- LoadModule php5_module "C:/Program Files (x86)/PHP/php5apache2_2.dll"
- AddHandler application/x-httpd-php .php
- PHPIniDir "C:/Program Files (x86)/PHP"
SetHandler application/x-httpd-php - Install MySQL
- create database for wordpress
- mysql> create database wordpress;
- create user for wordpress
- mysql> create user wordpress identified by '123qwe';
- mysql> grant all privileges on *.* to wordpress with grant option;
- Confg localhost to hosts file
- Add new line to C:\Windows\System32\drivers\etc\hosts
- 127.0.0.1 localhost
- Wordpress install
- unzip wordpress inside Apaches' htdocs folder
- config database connection on file htdocs\wordpress\wp-config.php
- define('DB_NAME', 'wordpress');
- define('DB_USER', 'wordpress');
- define('DB_PASSWORD', '123qwe');
- define('DB_HOST', 'localhost');
- The famous 5 minutes install !
- http://localhost:8080/wordpress/wp-admin/install.php
No comments:
Post a Comment