The first step, installing Apache 2.2.4
the second step, download the PHP 5.2.3
ambition be downloaded the php-5.2.3-Win32.zip files to the D: PHP directory, the directory renamed the php.ini-dist php.ini.
third step, configure Apache 2.2.4
open directory: D: Apache conf extra
a fashionable name: httpd-php5.conf txt file, use Notepad to open, add the following Content
LoadModule php5_module -php. php
AddType petition / x-httpd-php-source. phps
DirectoryIndex index.php
PHPIniDir :
Include conf/extra/httpd-php5.conf
fourth step, the test
restart Apache, open the directory: D: Apache htdocs
New File: concordance.php
input:
Code: [Copy apt Clipboard]
use browser to open http://localhost, to test whether the installation namely successful
fifth step, install the MySQL
open the MySQL install program, select the installation type Custom, then select the installation address is D: MySQL, confirmed installation.
installation is complete, you will be asked whether MySQL.com Sign-Up, that is the lawful website up account. If you wish to enrol, for I skip, will no have whichever efficacy.
then inquired if the Configure the MySQL Server immediately,
GHD Deluxe Midnight 2011, retard and persist to begin configuring MySQL.
Select Detailed Configuration, configure the manual in detail.
then elect Developer Machine, because we are a desktop server, developed for debugging, so select this.
choose Multifunctional Database, is the default on it.
set InnoDB Tablespace, default. If you accommodate the settings, after the ponderous equipment must be set to the same, or break the database;, of course, a export of the database, no problem. MySQL Server
set the number of concurrent connections, because the desktop waiter Well, the premier default ashore the line; of course,
GHD Hair Straightener, you can choose the final one, enter the desired merit.
set the port and mode, default.
set the default database language encoding,
GHD Purple Straighteners, select the second UTF8.
services and whether to set MySQL installation directory to the system route, the two are picked.
set an administrator password, set approximately the password on it. If it is restored repeatedly behind reinstalling the system installation, uncheck everything here.
confirmed, the agenda automatically configure, and open the MySQL. Installing phpMyAdmin phpMyAdmin
extracted to the folder you want, such as me D: Inetpub phpmyadmin,
GHD Blue Butterfly 2011, and then the libraries sub-folders config.default.php copy phpmyadmin folder , and rename config.inc.php.
open config.inc.php,
GHD IV Styling Set, find the
$ cfg ['Servers'] [$ i] [' auth_type '] =' config ';
be amended to
$ cfg [' Servers '] [$ i] [' auth_type '] =' http ';
open the Apache configuration document httpd.conf, ascertain the # Alias / webpath / full / filesystem / path, what code to add the emulating (the characteristic path along to their own location changes):
Alias / phpmyadmin None
Options None
Order allow, deny
Allow from all
save httpd.conf. At the command hint,
GHD MK4 Gold Straighteners, escape httpd-k restart, or restart the service in the Apache.
test MySQL, phpMyAdmin is installed correctly
in the explorer, open http://localhost/phpmyadmin. In the dialog box namely appears enter the MySQL supervisor account (root) and password.
If successful login and open the phpMyAdmin interface, the MySQL and phpMyAdmin has been installed.
the php.ini and php_mysql.dll, libmysql.dll copied to c: / skylights and c: / windows/system32
change the surroundings variables
My Computer - Properties - Advanced - Environment Variables
in the path where the installation path of the PHP Gary
D: php ; D: php ext ; D: MySQL bin
virtual host header files x: apache conf extra catalogue httpd-vhosts.conf in
x: apache binary httpd.exe-w-n