1. Install Apache
- Select "for All Users, on Port 80, as a Service - Recommended"
(will check on the "only for the Current User, on Port 8080, when started Manually" later)
- Install to C:\Apache Group\
- Test: http://localhost/
- Select "for All Users, on Port 80, as a Service - Recommended"
(will check on the "only for the Current User, on Port 8080, when started Manually" later)
- Install to C:\Apache Group\
- Test: http://localhost/
2. Install MySQL
- Install to C:\Apache Group\MySQL\
- Configure the MySQL Server:
- Standard Configuration. Install as windows service. Service name: MySQL. Launch the MySQL Server automatically. Include Bin Directory in Window PATH.
- Create a database for wordpress:
- Start MySQL Command Line Client
- Enter password
- mysql> create database wordpressdb;
- mysql> exit
- Install to C:\Apache Group\MySQL\
- Configure the MySQL Server:
- Standard Configuration. Install as windows service. Service name: MySQL. Launch the MySQL Server automatically. Include Bin Directory in Window PATH.
- Create a database for wordpress:
- Start MySQL Command Line Client
- Enter password
- mysql> create database wordpressdb;
- mysql> exit
3. Install PHP
- Install to C:\Apache Group\PHP\
- Select Apache 2.0x Module
- Select Apache Configuration Directory C:\Apache Group\Apache2\conf\
- For PHP to work, needed lines for php.ini:
[PHP]
extension_dir="C:\Apache Group\PHP\ext"
[PHP_MYSQL]
extension=php_mysql.dll
- Install to C:\Apache Group\PHP\
- Select Apache 2.0x Module
- Select Apache Configuration Directory C:\Apache Group\Apache2\conf\
- For PHP to work, needed lines for php.ini:
[PHP]
extension_dir="C:\Apache Group\PHP\ext"
[PHP_MYSQL]
extension=php_mysql.dll
- For apache to work with php, needed lines for httpd.conf:
PHPIniDir "C:/Apache Group/PHP/"
LoadModule php5_module "C:/Apache Group/PHP/php5apache2.dll"
PHPIniDir "C:/Apache Group/PHP/"
LoadModule php5_module "C:/Apache Group/PHP/php5apache2.dll"
- For PHP to work on apache, need libmysql.dll in C:\WINDOWS\system32
- Restart Apache
- Restart Apache
- To test, need a php file in folder: hthocs. Create phpinfo.php file with the line
- Test: http://localhost/phpinfo.php
- Test: http://localhost/phpinfo.php
4. Save wordpress folder in C:\Apache Group\Apache2\htdocs
- For wordpress to work, need the following 3 settings in file: wp-config.php:
The name of database: wordpressdb
Your MySQL username: root
Your password: ******
- For wordpress to work, need the following 3 settings in file: wp-config.php:
The name of database: wordpressdb
Your MySQL username: root
Your password: ******
- Test: http://localhost/wordpress/wp-admin/install.php
Versions used: Apache 2.0.63 * MySQL 5.0.67 * PHP 5.2.6 * Wordpress 2.7

No comments:
Post a Comment