Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure the Window2003 IIS+MySQL+PHP+Zend environment

2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Most people do not understand the knowledge points of this article "how to configure the Window2003 IIS+MySQL+PHP+Zend environment", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to configure the Window2003 IIS+MySQL+PHP+Zend environment" article.

The Windows2003 installation package includes Zend,PHP5.2.17,PHPWind8.7 and PHPMyadmin3.5.2, and you can download the installation package directly, saving time searching resources.

However, as MySQL exceeds the upload limit, you need to download it separately from MySQL's official website. Then decompress and copy it to disk D, as shown below:

MySQLinDdisk

Install and configure WindowsIIS+FTP

Click start > Control Panel > add or remove programs.

AddingordeletingaPG

Click add / remove Windows components.

AddingordeletingWindowscomponent

Select the application server and click details.

Selectingapplicationserver

Select Internet Information Services (IIS) and click details.

ClickingtheInternetserviceinfo (iis)

Check the File transfer Protocol (FTP) service and click OK.

SelectingFTPservice

Click Browse and select C:\ Win2003sys\ disc1\ I386.

Choosingthesourceoffiles

Click to open IIS and the installation begins. If your device uses the Windows200364bit operating system, the file is located in the C:/Win2003sys/disc1/AMD64 directory.

Openingthefile

When the following interface appears, your IIS and FTP installation is complete.

Completinginstallation

Install and configure WindowsIIS+PHP

Cut the libeay32.dll,libmcrypt.dll,libmysql.dll and ssleay32.dll from disk D to the C:\ Windows\ system32 directory. Cut the PHP configuration settings file to the C:\ Windows directory.

MySQLintheDdisk

Right-click on my computer and select manage.

Locate and click Internet Information Server (IIS) in the navigation pane, and click Web Services extension.

Right-click in the space in the information pane and select add a new Web service extension.

Addinganewseviceextension

Enter: PHP in the extension input field in the pop-up window, and click add.

NamingthePHPextenxion

In the pop-up window, click Browse and select D:\ websoft\ php-5.2.17\ php5isapi.dll, and click OK.

Assigningthefilesource

Select the setting extension status in the check box to allow, and click OK.

Permittingtheextensionstatus

After setting up, php is added to the Web service extension in the computer management navigation pane.

Setingoverview

Right-click the site in the navigation pane and select Properties.

Alttext

Click configure under the home directory tab.

Clickingconfigureration

Click add.

Addingfileextension

Click Browse and select the file path D:\ websoft\ php-5.2.17\ php5isapi.dll. Enter the extension .php and click OK.

Mappingextensionfiles

Under the document tab, click add, enter index.php in the pop-up input box, and then click OK.

Under the document tab, click add, enter index.html in the pop-up input box, and then click OK. Click apply (A).

Addingdocuments

Click Select all, and then click OK.

Selectingsubnodes

Click apply (A) and then click OK.

Finishingconfiguration

At this point, your IIS and PHP configuration is complete.

Install and configure WindowsMySQL

Install MySQL

Go to the file path and double-click D:\ websoft\ mysql-essential-5.1.63-win32.msi.

Installing

When the installation process is over, click Custom, and then click Next.

Installationnavigation

Click MYSQLServer in the directory structure.

Click Change to modify the installation path of MySQL and change from disk C to D:\ websoft\ mysql-5.1 (re-select the path according to your actual needs). Click OK to confirm the path.

Changinginstallingdestinationpath_1

Confirmation

Click MYSQLServerDatafiles in the directory structure.

Click Change to modify the installation path of MySQL and change from disk C to D:\ websoft\ mysql-5.1 (re-select the path according to your actual needs). Click OK to confirm the path.

Changinginstallingdestinationpath_2Confirmation

Click Next in the pop-up window to continue installing MySQL.

After the pop-up window is switched, click Finish to complete the MySQL installation.

Changinginstallingdestinationpath_2

Configure MySQL

Take the last one. Check DetailedConfiguration in the pop-up window and click Next.

Selectingdetailedconfiguration

Check MultifunctionalDatabase in the pop-up window and click Next.

SelectingMultifunctionalDatabase

Click Next.

Clickingnext

Check ManualSetting in the pop-up window and set the number of connections to 1400.

SelectingManualSetting

Check EnableTCP/IPNetworking in the pop-up window and set the number of ports to 3306. Check EnableStrictMode and click Next.

SlectingEnableStrictMode

Check StandardCharacterSet in the pop-up window and click Next.

Alttext

Check InstallAsWindowsService in the pop-up window and click Next.

Alttext

Check ModifySecuritySettings in the pop-up window to set your MySQLroot password. Please take good care of your password and avoid forgetting it. Click Next.

Alttext

Click Execute to begin the configuration. After waiting for the 4 MySQL configuration progress to complete, click Finish to finish the configuration.

ClickingExecute

Install WindowsZend

If you do not have a Zend encryption program on your device, you do not need to install Zend. If you have such a program, you need to install Zend in case the program cannot be run.

Go to the file path and double-click D:\ websoft\ ZendOptimizer-3.3.3-Windows-i386.exe. Reselect the installation path and choose the default settings for the rest of the settings. Click Next.

Startinginstallation

Check Iagreethetermsofthelicenseagreement and click Next.

Confirmation

Select the installation directory for Zend, such as D:\ websoft\ Zend in this example, and click Next.

Changingroot

Select IIS and click Next.

ChoosingIIS

Install php.ini in the C:\ Windows directory and click Next.

Installingphp.ini

Click Next.

ClickingNext

Click Install.

Installation

Click Yes.

Yes

When the Zend installation is complete, click Finish to end the installation boot.

Configure WindowsFTP

There are a lot of FTP server software on the market, some legitimate fee-paying software such as Serv-u,Xlight, as well as free or system-built software. Here, Aliyun takes the FTP software that comes with WindowsOS as an example to demonstrate the process of FTP configuration.

Configure FTP

Click my computer > right-click > manage.

Click Local users and groups > users in the navigation pane, right-click in the space in the information pane and select a new user.

Users

Enter the FTP user name and password.

SettingIDandpassword

Locate and click Internet Information Services Management in the navigation pane, right-click the FTP site, and select New > FTP site.

Newsite

Click next.

ClickingNext

Enter a description, such as "pwftp" in this example.

Typingdescription

To set the IP address and port of FTP, click next. SettingIPandport

Check do not isolate users, and click next.

Donotexcludeusers

Set the directory path, such as D:\ websoft\ www in this example.

Changingroot

Set access to FTP to allow read and write, and click next.

Changingaccessauthority

Click finish to proceed to the next site creation wizard.

Clickingcompletion

Set FTP permissions

Enter the directory D:\ websoft (or your FTP site home directory) and right-click the folder www > property.

Clickingattribute

Under the Security tab, select Users (it can be anyone logged on to the device or yourself). Check the appropriate permission settings in the allow list and deny list.

When full Control is checked, click Advanced to make advanced settings.

Settingaccessauthority

Check the one shown here that can be applied to sub-objects. And click Yes in the pop-up window.

Supportingaccess

Wait for the system to run the program.

Waiting

Set PWFTP account permissions

Right-click folder WWW > Properties > Security, and click add (D).

Clickingattribute

Select the object type, select the location, enter the object name pwftp, and click OK.

Settingthepwftp

Check the appropriate permission settings in the allow list and deny list.

When full Control is checked, click Advanced to make advanced settings.

Advancedsetting

Same as users permission settings. Check the permissions item in the interface of Advanced Security Settings, click Yes in the pop-up window, and then click apply (A) > OK.

Settingaccessauthority

At this point, your WindowsFTP configuration is complete.

Configure the WindowsIIS site

Right-click my computer > manage.

In the navigation pane, click Internet Information Services (IIS) > Web site, right-click the default Web site, and click Properties.

Clickingattribute

Under the home directory tab, click Browse to switch from disk C to the specified path, such as D:\ websoft\ www\ phpwind in this example.

Changingroot

Click apply (A) and then click OK.

Restart IIS, or restart the server, and you can access your website through https://localhost.

Note: if your device uses the Windows200364bit system version and is prompted when accessing https://localhost that% 1 is not a valid win32 application error, follow these instructions to set it:

Click start > run, enter cmd, and then click OK.

Input: cscript%SYSTEMDRIVE%/inetpub/adminscripts/adsutil.vbsSETW3SVC/AppPools/Enable32bitAppOnWin641

For IIS and FTP security hardening, please refer to FTP anonymous login or weak password vulnerabilities and service hardening.

The above is the content of this article on "how to configure the Window2003 IIS+MySQL+PHP+Zend environment". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report