I. preparations:
1. Install
2. Prepare the required software. The details are as follows:
Php (as the mainstream development language) V5.2.1 For Windows
Http://www.skycn.com/soft/516.html
MySQL (best combination with PHP) For Windows V5.2 Alpha
Http://www.skycn.com/soft/1262.html
Php (as the mainstream development language) MyAdmin Http://www.skycn.com/soft/10687.html
Zend Optimizer V3.2.6 Http://www.skycn.com/soft/20133.html
Php (as the mainstream development language) Wind 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 (Microsoft WEB server platform) root directory is the "F: MyForumProgMyBBS" Directory;
In this example, the "root" user password of the MySQL (best combination with PHP) system 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. install php (as the mainstream development language:
1. "php (as the mainstream development language) V5.2.1
2. Use "F: RunTime" and "php" as the mainstream development languages ). ini-recommended and other three files are copied to the "C: WinXP" directory, and all ". copy the dll file to the "C: WinXPsystem32" directory. I did not see duplicate names during the copy process. If there is duplicate names, I will overwrite them.
In addition, some tutorials mention: "To use 'f: MyForumProgphp (as the mainstream development language) ext 'under the directory all '. the dll file is also copied to the 'C: winxpsystem32' directory. "I copied it and installed it, but I don't know if it will affect the usage in the future.
3. Use "C: WinXPphp (as the mainstream development language ). the ini-recommended file is renamed as "php (as the mainstream development language ). ini, and then open and edit 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: MyForumProgphp (as the mainstream development language) ext" (SEE );
Search for the string "; ; Extension = php (as the mainstream development language) _ dbase. dll optional
; Extension = php (as the mainstream development language) _ gd2.dll this item is used to support the GD library, which is generally required.
; Extension = php (as the mainstream development language) _ ldap. dll optional
; Extension = php (as the current mainstream development language) _ mbstring. dll if this option is not selected, use php (as the current mainstream development language). MyAdmin will prompt an error, required
; Extension = php (as the mainstream development language) _ mssql (a powerful database platform on WINDOWS ). dll. Optional.
; Extension = php (as the mainstream development language) _ MySQL (the best combination with PHP). dll this item is used to support MySQL (the best combination with PHP) database, required
Finally, save the file and exit. php (as the mainstream development language) is now installed and configured.
3. Configure iis (Microsoft's WEB server platform) to support php (as the mainstream development language ):
1. Run Mode Selection: php (as the mainstream development language) has two run modes: cgi (not many people are using it now) and ISAPI. Generally speaking, the cgi (not many people are using it now) mode consumes a lot of resources and is easy to reflect due to time-out, but it is actually safer. The ISAPI mode has a high execution efficiency, low system resource consumption, strong load capacity, but 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 WEB Support for iis (Microsoft Web server platform) for configuration (SEE ).
3. Right-click "default website" and click "properties" (note: "default website" has changed to "default website (stopped ), start to configure iis (Microsoft's WEB server platform) (SEE ).
4. In the "default website (STOP) properties" window that will pop up later, click "main directory" and set "local path" to "F: MyForumProgMyBBS" (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 );