Aliyun Perfect Tutorial Window2003 iis+mysql+php+zend environment Configuration _win Server

Source: Internet
Author: User
Tags ftp site install php php mysql win32 file transfer protocol phpmyadmin zend aliyun
There are only a few minor problems that I have encountered during my use:

HTTP error 403.1– prohibit access: execution access denied
The reason is that there are insufficient execution permissions, and the solution is:

Workaround One:

Open the Administrative Tools Internet Information Services, right-click the Home Directory tab of Web site properties, and change the "EXECUTE permission" option from "none" to "Pure scripting".

Workaround Two:

1. Turn on IIS settings
2. Note the following settings when building a virtual directory or Web site
In the Network Creation Wizard –> "Network access Permissions" By default check only "read" but also add "run script (such as ASP)"

Second, the new site opened up a garbled?

This question does not know what is going on? Seems to restart the site on the line ....

Third, bound domain name: reference here


WINDOW2003 iis+mysql+php+zend Environment Configuration

Video Tutorials: http://help.aliyun.com/manual?helpId=1704

1.windows IIS +ftp Installation

Start----Control Panel----Add or Remove Programs as shown

The following interface appears click "Add/Remove Windows Component (a)" as shown

The following interface appears

Select Application Server

Click "Details" in the picture

The above picture "Select Internet Information Services (IIS)" click "Details" in the picture

Select the File Transfer Protocol (FTP) service in the picture and click OK

Finally, the following interface appears

Click "Browse" in the picture to select "C:\win2003_sys\disc1\i386" as shown

Click on the "Open" IIS in the picture to start the installation. If the system is windows2003 64 bits, the file is located under "C:/win2003_sys/disc1/amd64"

This indicates that IIS and FTP are already installed.

2. Download php mysql Zend phpMyAdmin

Recommended download Http://soft.phpwind.me/top/iis6/websoft.zip This package already contains PHP 5.2.17 mysql 5.1.63 zend phpwind 8.7 The phpMyAdmin 3.5.2 save large Home to each site to find a bag of time.

After the download is complete, unzip the copy to D disk, the directory structure as follows:

3. Install PHP

As shown in the figure cut "Libeay32.dll libmcrypt.dll libmysql.dll ssleay32.dll" These DLL files to the "C:\Windows\System32" directory

Cut "PHP" in the picture to the C:\Windows directory

Right-click "My Computer" to select "Manage"

Find Internet Information Server (IIS) Click "Web Service Extensions" to right-click in a general blank area, as shown

Select "Add a new Web service extension" to appear in the following figure

Extension input PHP then click "Add" as shown

The following figure appears

Click "Browse" to select D:\websoft\php-5.2.17\php5isapi.dll

Click "OK" when the figure appears below

Select the "Set extension status to allow" in the picture and click "OK" to show the following figure

PHP is more than a Web service extension, as shown above

Right-click the Web site, select Properties, and the screenshot below appears

Click "Home Directory" in the picture to show the following image

Click "Configure" in the picture to show the image below

Click "Add" to show the following image

Click "Browse" in the picture to select "D:\websoft\php-5.2.17\php5isapi.dll" and click "OK", the following figure appears

Enter. php at the extension, and click OK to show the image below

In the application extension there has just been added. PHP, click "OK" in the picture, the following image appears

Click "Document" to show the image below

Click "Add", show the image below, enter index.php and click "OK"

Then click "Add", add index.html, add finished, click "Apply" to appear the following picture

Click "Select All" and then click "OK" and then show the image below.

Point "Apply" and then click "OK" so that iis+php is configured.

4.mysql Installation

Double-click D:\websoft\mysql-essential-5.1.63-win32.msi to start installing the map operation

Appear above the interface, do not click Cancel that is canceled, and so on

Select "Custom" and click "Next" to show the following interface

This is the choice of MySQL installation location, default in C disk, we point "change" select d:\websoft\mysql-5.1

Select Click "OK" to switch to the previous Operation screen

Click on the MySQL server datafiles default is also in the C disk, click "Change" Select d:\websoft\mysql-5.1

After the selection, click "OK", switch to the previous operating interface, and then click "Next" in the picture, MySQL began to install the

The picture above shows that the installation is ready. Click "Finish" to start to configure MySQL, see map operation

This operation screen, the input is the MySQL root account password, recommended that you enter the completion of easy to write down lest forget

Appear above the operation screen, indicating the configuration environment, so that MySQL installed, so that the IIS+PHP+MYSQL environment is basically available.

5.Zend Installation

If you do not have Zend encryption of the program strongly recommend that you do not install, if there is that must be installed, otherwise the program can not run.

Double-click D:\websoft\ zendoptimizer-3.3.3-windows-i386.exe to start installation, in addition to the installation directory, the other default on it, see map operation

As Figure Zend Program needs us to provide php.ini in that directory, before we copy php.ini to C:\Windows we don't need to change.

Click "Install" to appear in the picture of the dialog box, select "Yes" and then the program began to install the

Appears on this interface table Zend has been installed

6.FTP Configuration

The FTP server software has many, server-u xlight and so on usually these all must charge, involves the copyright everybody to handle.

The following is a tutorial on the FTP configuration with Windows only

My Computer--right--select "Manage"

Find the user, in the right user list blank area, right click on "New User"

Enter your FTP username, password, and then switch to IIS to delete the default FTP site, and then create a new image

Select the path we choose to choose the path you need, as shown in my choice of d:\websoft\www

Next, set permissions, such as diagram operations

Select "Users"

Select Full Control and then add advanced

As shown in the image above, the following picture selects "Yes"

Select Yes and wait for system operation to complete

Next, add the permissions of the PWFTP account, such as figure operation

Click "OK" to show the following figure

Select Pwftp and users like the operation, and finally click on the image above the "application" "OK", so the FTP is good.

Configure sites in 7.iis

As shown in figure

Click the browser in the picture to select D:\websoft\www\phpwind

Click "Apply" and "OK" in the picture, and then restart IIS or restart the server, and http://localhost will be able to access your site.

Note:

If you are a windows2003 64-bit version, if the access http://localhost encounters "%1 is not a valid Win32 application Error" prompt appears, you need to perform the following two steps to access.

1 Click Start, click Run, type cmd, and then click OK.

2) Type the following command to enable 32-bit mode:

cscript%systemdrive%/inetpub/adminscripts/adsutil.vbs SET W3svc/apppools/enable32bitapponwin64 1

Related Article

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.