First: Install HTTP server Apache
apache.1.jpg(43.95 KB)
2007-9-26 17:36
apache.2.jpg(55.15 KB)
2007-9-26 17:36
apache.3.jpg(64.33 KB)
2007-9-26 17:36
apache.4.jpg(41.78 KB)
2007-9-26 17:36
apache.5.jpg(45.91 KB)
2007-9-26 17:36
apache.6.jpg(28.96 KB)
2007-9-26 17:36
apache.7.jpg(31.9 KB)
2007-9-26 17:36
Apache installation completed, if the Apache port is occupied, please turn off your thunder, or some anti-virus software!
Step two: Install PHP:
1), unzip the Php-5.2.4-win32.zip package, then copy it to C # and rename it to C:\PHP5
2), copy the C:\PHP5\php.ini-dist file to X:\WINNT, and rename it to PHP.ini
3), (Method 1) Open php.ini for parameter modification, set Extension_dir to
Extension_dir = "C:/php5/ext"
(Method 2) Copy the *.dll file under *.dll and ext under PHP5 to system32 under Windows! (I use this kind of)
Step three: Load the PHP module:
To set the Web site root directory:
$PU @7hb%[ozv (j4dwfzh7jr.jpg(52.84 KB)
2007-9-27 15:04
In Apache's httpd.conf file, set ServerRoot (server root, which is Apache's installation directory)
ServerRoot "F:\php"
Set up DocumentRoot (the directory of the Web site, which is the Web page where people browse on your machine) such as:
DocumentRoot "F:\php"
Modified: (optional) settings Silent Home
Y ' cp@ht[9h7wi5}0e{]a8mm.jpg(78.13 KB)
2007-9-27 15:04
DirectoryIndex phpinfo.php index.html
Install it in modular mode!
Add at the end of the document
@MS $EG} (H (' D@a%b_z5s@ok.jpg(43.16 KB)
2007-9-27 15:04
LoadModule Php5_module C:/php/php5apache2_2.dll
AddType application/x-httpd-php. php
To install in CGI mode:
With the above
In the Scriptalias segment, increase the downlink
scriptalias/php5/"c:/php/"
In the AddType segment, increase the downlink
AddType application/x-httpd-php. php
Action application/x-httpd-php "/php5/php-cgi.exe"
Fourth Step:
Copy the C:\PHP5\php.ini-dist file to X:\WINNT and rename it to PHP.ini
In the php.ini configuration file, select the module that you want to load when you run PHP.
[DATE] modified; date.timezone = Date.timezone =PRC
The php.ini file in the following format before the line, remove to load the corresponding module, note: Loading the module is incorrect will be an error
Extension=php_bz2.dll
Extension=php_cpdf.dll
Extension=php_crack.dll
... These own add!
2.jpg(58.29 KB)
2007-9-26 17:36
TestPHP Program: Save in F drive for phpinfo.php in browser input http://localhost: Add your port number/just OK!
Fifth Step:
Install MySQL Data Library!
1.jpg(37.61 KB)
2007-9-26 17:36
Install down until
14.jpg(50.97 KB)
2007-9-26 17:36
If you use UFT8, select UTF8Select the gb2312! with gb2312 ‘
Due to limited space, certain ImageNo UploadUp!
Finally done!
6th step:
Installing Zendoptimizer
1.jpg(39.81 KB)
2007-9-26 17:36
Follow the prompts to continue the installation until you are finished!
Last configuration Phpmyadim:
Unzip the file to the site root directory:
Modify the config.default.php under libraries and rename the config.inc.php to save under the root directory as follows:
$cfg [' Servers '] [$i] [' auth_type '] = ' config '; Revision changed to
$cfg [' Servers '] [$i] [' auth_type '] = ' cookies ';
$cfg [' defaultconnectioncollation '] = ' utf8_unicode_ci ';
$cfg [' defaultcharset '] = ' UTF8 ';
Configuration Basic Complete! This is my rough writing, there are mistakes in the place also hope that we come up, I'mWill be the first time to revise the revision!
can use QQ or message in the forum!
http://www.bkjia.com/PHPjc/318749.html www.bkjia.com true http://www.bkjia.com/PHPjc/318749.html techarticle First: Install HTTP server apache Apache.1.jpg (43.95 kb) 2007-9-26 17:36 apache.2.jpg (55.15 KB) 2007-9-26 17:36 apache.3.jpg (64.33 KB) 2007-9-26 17:36 apache.4.jpg (41.78 KB) ...