I. preparations: 1. install SyntaxHighlighter. all (); info & nbsp; | & nbsp; Security & nbsp; | & nbsp;
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
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 );
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.