I. preparations: 1. Installation
I. preparations:
1. install
2. prepare the required software. The details are as follows:
Php V5.2.1 For Windows
Http://www.skycn.com/soft/516.html
MySQL For Windows V5.2 Alpha
Http://www.skycn.com/soft/1262.html
PHPMyAdmin Http://www.skycn.com/soft/10687.html
Zend Optimizer V3.2.6 Http://www.skycn.com/soft/20133.html
PHPWind forum system V5.3
Http://www.skycn.com/soft/34201.html
3. system build settings:
The software required for creating the altar is installed in the "F: \ MyForumPRog" directory, and the IIS root directory is the "F: \ MyForumProg \ MyBBS" directory;
In this example, the MySQL system "root" user password is "123456" and the forum database name is "MyData ".
If your system settings are different, make sure you modify them in the relevant area.
In addition, pay attention to the mouse arrows.
II. PHP installation:
1. set "PHP V5.2.1
2. set "php.exe00000000-php-win.exe" and "php. ini-recommended and other three files are copied to the "C: \ WinXP" directory, and all ". copy the dll file to the "C: \ WinXP \ system32" directory. I did not see duplicate names during the copy process. if there is duplicate names, I will overwrite them.
In addition, in some tutorials, it is particularly mentioned: "All 'under the 'f: \ MyForumProg \ PHP \ ext' directory should be taken '. the dll file is also copied to the 'C: \ WinXP \ system32' Directory. "I copied it and installed it, but I don't know if it will affect the usage in the future.
3. rename the "C: \ WinXP \ php. ini-recommended" file to "php. ini", and then open and edit it in Notepad.
Search for the string "register_globals = Off" and change "register_globals = Off" to "register_globals = On" (see );
Search for the string "extension_dir =" and change "extension_dir =". \ "to" extension_dir = "F: \ MyForumProg \ PHP \ ext" (see );
Search for the string "; ; Extension = php_dbase.dll optional
; Extension = php_gd2.dll this item is used to support the GD Library. it is generally required and is required.
; Extension = php_ldap.dll optional
; Extension = php_mbstring.dll if this option is not selected, PHPMyAdmin will prompt an error, required
; Extension = php_mssql.dll this item is used to support the MSSQL database, optional
; Extension = php_mysql.dll this item is used to support MySQL databases, required
Finally, save the file and exit. PHP is now installed and configured.
3. configure IIS to support PHP:
1. run mode selection: PHP has two run modes: CGI and ISAPI. Generally speaking, the CGI mode system consumes a lot of resources and is easy to reflect due to timeout, but it is actually safe. The ISAPI mode has a high execution efficiency, a low consumption of system resources, and a high load capacity, however, it is slightly less secure. In this example, the local installation can be moderately relaxed in terms of security requirements, so the ISAPI mode is used as an example to introduce the configuration steps.
2. double-click "Internet information service" in "administrative tools" on the "control panel ", in the pop-up "Internet information service" window, click the "+" icon on the left until the "default website" appears; right-click "default website" and click "stop" to stop IIS Web support for configuration (see ).
3. right-click "default website" and click "properties" (note: "default website" has changed to "default website (stopped ), start to configure IIS (see ).
4. in the pop-up "default website (stop) properties" window, click "main directory" and set "local path" to "F: \ MyForumProg \ MyBBS "(see );
Note: the "execution permission" item in the "application settings" column should be "pure script" (default options, see );
Then, click "configure" on the right (see );
In the "ing" item in the "application configuration" window that will pop up later, click the "add" button below (see );
In the "add/edit application extension ing" window that appears, enter "F: \ MyForumProg \ PHP \ php5isapi" in the executable file. dll, enter ". php. "), and click" OK "to exit (see );
After exiting the "add/edit application extension ing" window, you can see the added ". php "application ing (see), and click" OK "below to exit.
5. return to the "default website (stop) attribute" window, click "ISAPI filter", and click "add" on the right (see );
In the pop-up "filter properties" window, enter "php" in "filter name" (note: ". "), enter" F: \ MyForumProg \ PHP \ php5isapi "in the" executable file. dll, and click OK to exit (see );
After exiting the filter properties window, you can see the added "php" filter in the "ISAPI filter" window (see), and click "OK" below to exit.
6. return to the "default website (stop) attribute" window, click "document", and click "add" on the right (see );
In the "add default document" window that will pop up later, enter "index" in "default document name. php, add "index. php, and click OK to exit (see );
Return to the "document" window of "default website (stop) attribute", and click "index. php, and then click the top arrow on the left until "index. php "item to the top (see)," index. the php startup document has the highest priority so that you can first find and open the index when accessing the site. php "startup documentation, and click" OK "below to exit;
In the next pop-up "inherit overwrite" window, click the "OK" button below to exit the "default website (stop) attribute" window (see ).
7. execute the following three commands in sequence in "run" of the "Start" menu:
Net stop w3svc
Net stop iisadmin
Net start w3svc
8. run "Internet information service" again, right-click "default website (Stop)", and click "Start" to start IIS Web support (see );
In this case, go to the "default website properties" window and click "ISAPI filter". you can see that the "php" filter has been loaded (see );
Now that IIS is fully configured, close the "Internet information service" window.
9. create a file named "phpinfo. php" under the IIS root directory (F: \ MyForumProg \ MyBBS). The content is as follows:
Phpinfo ();
?>
Open http: // localhost/phpinfo. php in the browser. if you can see all the information about PHP supported by the current server, the IIS configuration is successful. Note: the "Server API" mode is "ISAPI" (see ).
4. install MySQL:
1. set "MySQL
To install the software in the "F: \ MyForumProg" directory rather than the default installation path, select "Custom" in "Setup Type" to change the installation path (see );
Click "Change..." in "Custom Setup" to Change the installation path (see );
Change the installation path and continue the installation (see );
In the next "MySQL.com Sign-UP" window, click "Skip Sign-UP" below to continue (see );
So far, the installation of MySQL 5.2 has been completed. check "Configure the MySQL Server now" to Configure the MySQL Server, click the "Finish" button below to complete the installation process (see ).
2. the MySQL Server configuration page is automatically displayed (see );
Click "Standard Configuration" and continue (see );
Select
Set the "root" user password. In this example, it is "123456" (see );
Click the "Execute" button at the bottom to start running the configuration program (see figure). The MySQL Server configuration is completed after running. Note: If your machine is installed with a firewall, a network access request may pop up when you run the third "Start service". In this case, you should allow access.
5. install Zend Optimizer:
1. set "Zend Optimizer V3.2.6
2. on the "Choose Destination Folder" screen, change the installation path to "F: \ MyForumProg \ ZendOptimizer" and continue (see ).
3. click IIS on the "Choose Web server" screen and continue (see ).
4. on the "Choose the php. ini folder" screen, locate the "php. ini" installation path (C: \ WinXP) and continue (see ).
5. locate the IIS root directory (F: \ MyForumProg \ MyBBS) on the "Choose the Web server's root folder" screen and continue (see ).
6. click the "Install" button at the bottom of the "Pre-Install Summary" screen to start installation (see ).
7. after the installation is complete, click "Finish" at the bottom to exit the installation program (see ).
8. open http: // localhost/phpinfo. php in the browser. Make sure to compare the information displayed in "Zend Engine" before and after installation (see ).
6. install the GD Library:
Configure "php. you can open the GD library support (remove "; extension = php_gd2.dll" at the beginning of the line ";") in the browser: // localhost/phpinfo. php: check the GD Support status (see ).
If the status of the GD Support database is incorrect, you don't need to talk about how to handle it. :)
7. install PHPMyAdmin:
1. unzip the "PHPMyAdmin V2.10.0 rc1" installation package to the "F: \ MyForumProg \ MyBBS \ PHPMyAdmin" directory (see ).
2. set "config." in the "F: \ MyForumProg \ MyBBS \ PHPMyAdmin \ libraries" directory. default. copy the php file to the "F: \ MyForumProg \ MyBBS \ PHPMyAdmin" directory and change it to "config. inc. php, and then open and edit in Notepad.
Search for the string "$ cfg ['pmaabsoluteuri ']" and set the value to the URL of PHPMyAdmin: http: // localhost/PHPMyAdmin/(see );
Search for the string "$ cfg ['blowfish _ secret']". This variable sets the cookie encryption key. just enter a few characters (see );
Search for the string "$ cfg ['servers'] [$ I] ['host']" and set its value to "localhost" (see );
Search for the string "$ cfg ['servers'] [$ I] ['auth _ type']". The default value is "config", which is generally used for local debugging, there are some security risks. we recommend that you set the value to "cookie" (see );
Search for the string "$ cfg ['servers'] [$ I] ['password']" and set the value to MySQL system "root" user passWord "123456" (see );
Find the string "$ cfg ['defaultlang ']" and set its value to "zh-gb2312" (see );
Search for the string "$ cfg ['defaultcharset']" and set its value to "gb2312" (see ).
3. Save the file and exit. PHPMyAdmin has been installed and configured. Open http: // localhost/PHPMyAdmin/in the browser and you will be able to see the screen.
8. use PHPMyAdmin to build a database:
1. enter the "root" user password "123456" on the http: // localhost/PHPMyAdmin/page to access PHPMyAdmin to operate the MySQL database (see ).
2. MySql defaults to the user database "test". for standardized management, you can delete the "test" database and create a forum-specific database.
First, open the database selection box on the left and click "test (0)" database (see );
Click "delete" in the operation area on the right (see );
Click "OK" in the pop-up dialog box to confirm deletion (see );
After the operation is returned, the "database 'test' has been deleted at the top of the right operation area ." Result prompt (see ).
3. in the "create a new database" prompt, enter the database name of the forum-specific database: MyData in the edit box below, and click "create" to create a database (see );
After the operation is returned, you can see "the database MyData has been created" at the top of the right operation area ." Result prompt (see );
4. click the "Exit" button on the left to Exit the PHPMyAdmin operation interface and close the window (see ).
OK. All preparations for Forum installation have been completed. you can start to install and configure Forum programs.
IX. installation and configuration of "PHPWind forum system V5.3 official version:
1. decompress the installation package of "PHPWind forum system V5.3 official version", copy the "upload" folder, and paste it to the IIS root directory (F: \ MyForumProg \ MyBBS.
2. open http: // localhost/upload/install in the browser. php, you can see the copyright and responsibility statement related to the PHPWind forum system. Obviously, to continue, you only need to click "agree" here (see ).
3. in the upper part of the page that appears later, you can see the writability test results of related directories and files (see). Needless to say, it should be "OK" here;
In the lower part of the page, set the database information and administrator account and password of the forum, and set the directory "F: \ MyForumProg \ MyBBS" to full sharing, click "Start Installation" at the bottom of the page to continue (see ).
Note: If you do not set the directory "F: \ MyForumProg \ MyBBS" to full sharing, an error message will appear during the subsequent installation. In theory, you only need to set some directories under "F: \ MyForumProg \ MyBBS \ upload" to share, but I have not tried it for the convenience of the diagram, if you are interested, try it.
4. in the upper part of the subsequent page, you can see the result of setting forum database information, administrator account, and password. As for the marketing and promotion settings of the lower part of the page, the local installation is used, you can cancel all settings. click "continue installation" below to continue (see ).
Suggestion: to familiarize yourself with the marketing and promotion operations of the forum, you can install them. However, for mainstream machines, the resource consumption is nothing.
5. if you can see the following page, congratulations! the forum is successfully installed!
In the lower part of the page, you are prompted that the URL of your website and forum is http: // localhost/upload (see). click "finish installation" at the bottom to continue.
6. click "... go to the management panel... "link (see), you can directly go to the forum administrator login page: http: // localhost/upload/admin. php;
On the administrator login page (http: // localhost/upload/admin. in php), enter the administrator's ID and password (see) to enter the background of the Forum and set the relevant content of the Forum.
7. if you want to speed up first, you can open http: // localhost/upload/index. php (see) in your browser. can you see the beautiful PHPWind forums icon?
At this point, the entire forum has been set up, and the rest is slowly getting addicted to it !!!