Create an all-around IIS server

Source: Internet
Author: User
Tags mysql download

Reprinted: Ziqi's Blog & evil baboons
Author: Ziqi

I. Prepare materials
I don't want to talk much about this. I have one computer. Don't tell me that you don't have it either? As for machine configuration, you can choose general configuration. Of course, the higher the configuration, the better.
It is best to install 2000PRO and Windows XP in the operating system. After all, it is just a personal experience. Here we use the Windows XP Professional Edition. If you are using another version, the method is the same. We do not recommend Windows 98, because the installation of Apache (PWS) PHP4 MySQL CGI in Windows 98 is troublesome and is not suitable for these cainiao.
Ii. Installation Process
Okay, choose to start our installation. The first thing to install is IIS. Open "Control Panel" and select "Add/delete program ", in the displayed window, select "Add/delete Windows Components (A)". In the displayed window, select "Internet Information Service (IIS:




IIS supports ASP. In the browser address bar, enter _ blank> http: // 127.0.0.1 or _ blank> http: // your user name, the default folder is in X: InetpubWwwroot, but we can change the default setting. (Here, X is the directory where you install the system, and the following is the same)
The software we need (For Windows ):
ActivePerl, PHP4, MYSQL
Download ActivePerl:
Domestic _ blank> http://www.downloadsky.com/down/ActivePerl-5.6.1.630-MSWin32-x86.zip; (the latest version is ActivePerl V5.6.1.630)
Download PHP4:
Domestic _ blank> http://www.downloadsky.com/down/php-4.0.6-Win32.zip; (the latest version is PHP V4.0.6)
MYSQL download:
Domestic: sql-3.23.45-win.zip "target = _ blank> http://www.downloadsky.com/down/mysql-3.23.45-win.zip; (the latest version is MYSQL V3.23.45)
Install ActivePerl first
Run the downloaded ActivePerl and install it step by step (Note: Select/usr/in the root directory (perl by default). This saves a lot of trouble for future debugging programs)
Install mysql again. The default installation path is c: mysql. After the installation is complete, open the C: mysqlindirectory, find winmysqladmin.exe, and run it. When you use it for the first time, you need to create an Administrator name and password, I set it to lin and (yourpassword) respectively ). When it is disabled, the program automatically creates a small "traffic light" icon under the Status line. Open it and we can see its full picture, as shown in Figure 2:



Install php4, decompress the software package with winzip to c: php, and then run php in the directory. copy the ini-dist file to X: winnt, and copy X: winntphp. ini-dist is renamed as php. ini, if you are not very attribute PHP, it is recommended that you do not modify the content.
3. Configure IIS
Open "Control Panel" -- "Administrative Tools" -- "Internet Information Service", click the properties of the default site, select the "main directory" tab, and click "Configure (G )... ",
Select "add". In the displayed dialog box, enter the following information:


Remember to add "% s" (the content between the quotation marks, there is a space between two % s). Otherwise, cgi cannot be executed. After confirmation. Add the extension. pl in the same way, as shown in Figure 4:



Let's make it support PHP. In the same way on the "main directory" tab, click "Configure (G )..."
Add the extension. php, as shown in Figure 5:



Remember to add "% s" to the end. Use the same method as above.
After that, we will see the added extension in "application ing", as shown in Figure 6:



Then, under the "ISAPI filter" configuration page, add a new filter named PHP and the executable file php4isapi. the complete path of the dll file, such as C: PHPphp4ts. dll; 7:

Restart IIS so that your IIS supports CGI and PHP. We can use it to install the cool CGI reao super forum. Add the MYSQL we have installed before, and then install a vBulletin Chinese Forum. Feel like you are the "Forum main!


Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.