WINDOW2003 iis+mysql+php+zend Environment Configuration

Source: Internet
Author: User
Tags ftp site install php php mysql win32 file transfer protocol phpmyadmin zend

1.windows IIS +ftp Installation

"Start"--"control Panel"--"Add or Remove Programs"

Click on "Add/Remove Windows Components (a)" When the following interface appears

The following interface appears

Select "Application Server"

Click "Details" in the image

The picture above appears "Check Internet Information Services (IIS)" and click on "Details" in the picture

Select "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"

Click "Open" in the picture to start installing IIS. 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 Windows2003 Install package This package already contains PHP 5.2.17 mysql 5.1.63 zend phpwind 8.7 phpmyadmin 3.5.2 Save you time to find a package for each website.

After the download is complete, unzip the copy to the D drive, the directory structure such as:

3. Install PHP

Cut "Libeay32.dll libmcrypt.dll libmysql.dll ssleay32.dll" These DLL files into the "C:\Windows\System32" directory

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

Right click on "My Computer" and select "Manage"

Locate Internet Information Server (IIS) Click "Web Service Extensions" to right-click in the general white space,

Select "Add a new Web service extension" to appear

Extension Enter PHP and click "Add"

Appear

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

Click "OK" to appear

Select "Set extension status to allow" Click OK to appear

There is more PHP in the Web service extension, such as

Right-click on "Web Site" and select "Properties" to show the following

Click "Home Directory" in the image to appear

Click "Configure" in the image to appear

Click "Add" to appear

Click "Browse" in the image to select "D:\websoft\php-5.2.17\php5isapi.dll" and then click "OK" to appear

Enter. php at the extension, and then click OK to appear

In the application extension, the. php that you just added appears, click OK in the image,

Click "Document" to appear

Click "Add" to appear, then enter index.php and then click "OK"

Then click "Add", add index.html, add, click "Apply" appears

Click "Select All", then click "OK" and then appear

Click "Apply" and then "OK", so the iis+php is ready to be configured.

4.mysql Installation

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

The interface above, do not click Cancel that is canceled, etc.

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

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

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

Click MySQL server datafiles The default is also on the C drive, click "Change" to select d:\websoft\mysql-5.1

Select OK, click "OK", switch to the previous user interface, and then click on the picture "Next", MySQL began to install the

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

This operation screen, the input is the MySQL root account password, it is recommended that you do not forget to write after the completion of

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 encrypted programs strongly recommend that you do not install, if there is that must be installed, or the program can not run.

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

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" After the dialog box appears in the picture, select "Yes" and then the program began to install

Appears on this interface table Zend already installed

6.FTP Configuration

FTP Server Software has many, server-u xlight and so on usually these all have to charge, relates to the copyright everybody own processing.

The following is a Windows-only FTP configuration tutorial

"My Computer"--"right button"--select "Manage"

Locate the user, and on the right side of the user list, right-click on "New User"

Enter your FTP user name, password, and then switch to IIS to remove the default FTP site, and then create a new

Select the path we choose to choose the path you need, I chose d:\websoft\www

Next set permissions, action

Check "Users"

Select Full Control and then add advanced

After the operation appears the following picture select "Yes"

Select Yes and wait for system operation to complete

Next add the PWFTP account permissions, action

Click "OK" to appear

Select Pwftp and then do the same as users, and then click "Apply" "OK", so ftp is good.

Configuring Sites in 7.iis

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

Click "Apply" in the picture to "OK" This is good, finally restart IIS or restart the server, http://localhost will be able to access your site

Note:

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

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

WINDOW2003 iis+mysql+php+zend Environment Configuration

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.