Home php教程 php手册 IIS6+PHP的最佳配置方法

IIS6+PHP的最佳配置方法

Jun 13, 2016 am 10:32 AM
use support method yes optimal server Now of Script Configuration

  多脚本支持服务器现在是被越来越多的人所使用。如果想要架设一台同时支持php(做为现在的主流开发语言)、ASP、asp.net(微软最强的开发语言)、jsp(SUN企业级应用的首选)、Perl的Web虚拟主机服务器,还是用 Windows 2003的iis(微软的WEB服务器平台)6最好。网上有很多介绍在iis(微软的WEB服务器平台) 6上配置php(做为现在的主流开发语言)的文章,但是那些方法不是性能不好,就是升级麻烦。下面的方法可以让你在第一次配置好后,能够非常方便的进行升级。

  这里所说的升级,是指从某个php(做为现在的主流开发语言)4版本升级到另一个php(做为现在的主流开发语言)4版本,或者从某个php(做为现在的主流开发语言)5版本升级到另一个php(做为现在的主流开发语言)5版本,而不是指从php(做为现在的主流开发语言)4升级到php(做为现在的主流开发语言)5。

  准备:

  1、一台安装好的 Windows 2003 服务器,并且已经安装了 iis(微软的WEB服务器平台) 6。

  2、下载 windows 版的 php(做为现在的主流开发语言) 二进制压缩包

  安装:

  解压缩 php(做为现在的主流开发语言) 二进制压缩包到 C:php(做为现在的主流开发语言) 目录下(这里假设 C: 盘是系统盘,即安装了Windows 系统的盘,如果系统盘是 D: 盘,则解压缩到 D:php(做为现在的主流开发语言) 目录下,以此类推,下同)。

  然后打开“我的电脑”->“属性”->“高级”->“环境变量”->“系统变量”->“path”,编辑其值,在前面增加下面的路径地址:

  C:php(做为现在的主流开发语言);C:php(做为现在的主流开发语言)dlls;C:php(做为现在的主流开发语言)extensions;C:php(做为现在的主流开发语言)sapi;

  将 php(做为现在的主流开发语言).ini-dist 或 php(做为现在的主流开发语言).ini-recommended 复制到 C:Windows 目录下,并改名为 php(做为现在的主流开发语言).ini,一般正式发布网站的服务器用 php(做为现在的主流开发语言).ini-dist,而作为调试用的服务器用 php(做为现在的主流开发语言).ini-recommended 更好。当然一般情况下,这个 php(做为现在的主流开发语言).ini 还是需要根据实际情况来修改的。

  下面来介绍一下几个必要的修改选项:

  extension_dir = "C:php(做为现在的主流开发语言)extensions"

  这个是 php(做为现在的主流开发语言) 扩展所放置的目录,请确保跟你实际安装的目录相同。

  extension=php(做为现在的主流开发语言)_mbstring.dll

  ;extension=php(做为现在的主流开发语言)_big_int.dll

  extension=php(做为现在的主流开发语言)_bz2.dll

  extension=php(做为现在的主流开发语言)_cpdf.dll

  extension=php(做为现在的主流开发语言)_crack.dll

  extension=php(做为现在的主流开发语言)_curl.dll

  extension=php(做为现在的主流开发语言)_db.dll

  extension=php(做为现在的主流开发语言)_dba.dll

  extension=php(做为现在的主流开发语言)_dbase.dll

  extension=php(做为现在的主流开发语言)_dbx.dll

  extension=php(做为现在的主流开发语言)_domxml(标准化越来越近了).dll

  ;extension=php(做为现在的主流开发语言)_exif.dll

  ;extension=php(做为现在的主流开发语言)_fdf.dll

  ;extension=php(做为现在的主流开发语言)_filepro.dll

  extension=php(做为现在的主流开发语言)_gd2.dll

  extension=php(做为现在的主流开发语言)_gettext.dll

  extension=php(做为现在的主流开发语言)_hyperwave.dll

  extension=php(做为现在的主流开发语言)_iconv.dll

  ;extension=php(做为现在的主流开发语言)_ifx.dll

  ;extension=php(做为现在的主流开发语言)_iis(微软的WEB服务器平台)func.dll

  extension=php(做为现在的主流开发语言)_imap.dll

  ;extension=php(做为现在的主流开发语言)_interbase.dll

  extension=php(做为现在的主流开发语言)_java.dll

  extension=php(做为现在的主流开发语言)_ldap.dll

  ;extension=php(做为现在的主流开发语言)_mcrypt.dll

  extension=php(做为现在的主流开发语言)_mhash.dll

  extension=php(做为现在的主流开发语言)_mime_magic.dll

  extension=php(做为现在的主流开发语言)_ming.dll

  extension=php(做为现在的主流开发语言)_mssql(WINDOWS平台上强大的数据库平台).dll

  extension=php(做为现在的主流开发语言)_msql.dll

  ;extension=php(做为现在的主流开发语言)_oci8.dll

  extension=php(做为现在的主流开发语言)_openssl.dll

  ;extension=php(做为现在的主流开发语言)_Oracle(大型网站数据库平台).dll

  extension=php(做为现在的主流开发语言)_pdf.dll

  extension=php(做为现在的主流开发语言)_pgsql.dll

  ;extension=php(做为现在的主流开发语言)_printer.dll

  extension=php(做为现在的主流开发语言)_shmop.dll

  ;extension=php(做为现在的主流开发语言)_snmp.dll

  extension=php(做为现在的主流开发语言)_sockets.dll

  ;extension=php(做为现在的主流开发语言)_sybase_ct.dll

  extension=php(做为现在的主流开发语言)_w32api.dll

  extension=php(做为现在的主流开发语言)_xml(标准化越来越近了)rpc.dll

  extension=php(做为现在的主流开发语言)_xslt.dll

  extension=php(做为现在的主流开发语言)_yaz.dll

  extension=php(做为现在的主流开发语言)_zip.dll

  上面这些,开头没有加分号的是打开的扩展,加了分号的是没有打开的扩展。上面的设置包含了在 Windows 2003 上默认安装情况下可以打开所有扩展(这里列出的是 php(做为现在的主流开发语言) 4 的)。

  session.save_path = c:sessions

  这个是 session 文件默认保存的目录,这个目录必须是一个存在的目录,不然默认的 session 功能会无效。我这里设置的是一个 ramdisk 上的一个目录。将 session.save_path 设置在 ramdisk 上可以加快 session 处理的速度。如果你没有安装 ramdisk,你可以把它指定到其他盘的任何一个目录下,如 C:sessions 目录、C:WindowsTemp 目录等。

技术交流 永无止境

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1666
14
PHP Tutorial
1273
29
C# Tutorial
1253
24
How to recover deleted contacts on WeChat (simple tutorial tells you how to recover deleted contacts) How to recover deleted contacts on WeChat (simple tutorial tells you how to recover deleted contacts) May 01, 2024 pm 12:01 PM

Unfortunately, people often delete certain contacts accidentally for some reasons. WeChat is a widely used social software. To help users solve this problem, this article will introduce how to retrieve deleted contacts in a simple way. 1. Understand the WeChat contact deletion mechanism. This provides us with the possibility to retrieve deleted contacts. The contact deletion mechanism in WeChat removes them from the address book, but does not delete them completely. 2. Use WeChat’s built-in “Contact Book Recovery” function. WeChat provides “Contact Book Recovery” to save time and energy. Users can quickly retrieve previously deleted contacts through this function. 3. Enter the WeChat settings page and click the lower right corner, open the WeChat application "Me" and click the settings icon in the upper right corner to enter the settings page.

How to write a novel in the Tomato Free Novel app. Share the tutorial on how to write a novel in Tomato Novel. How to write a novel in the Tomato Free Novel app. Share the tutorial on how to write a novel in Tomato Novel. Mar 28, 2024 pm 12:50 PM

Tomato Novel is a very popular novel reading software. We often have new novels and comics to read in Tomato Novel. Every novel and comic is very interesting. Many friends also want to write novels. Earn pocket money and edit the content of the novel you want to write into text. So how do we write the novel in it? My friends don’t know, so let’s go to this site together. Let’s take some time to look at an introduction to how to write a novel. Share the Tomato novel tutorial on how to write a novel. 1. First open the Tomato free novel app on your mobile phone and click on Personal Center - Writer Center. 2. Jump to the Tomato Writer Assistant page - click on Create a new book at the end of the novel.

BTCC tutorial: How to bind and use MetaMask wallet on BTCC exchange? BTCC tutorial: How to bind and use MetaMask wallet on BTCC exchange? Apr 26, 2024 am 09:40 AM

MetaMask (also called Little Fox Wallet in Chinese) is a free and well-received encryption wallet software. Currently, BTCC supports binding to the MetaMask wallet. After binding, you can use the MetaMask wallet to quickly log in, store value, buy coins, etc., and you can also get 20 USDT trial bonus for the first time binding. In the BTCCMetaMask wallet tutorial, we will introduce in detail how to register and use MetaMask, and how to bind and use the Little Fox wallet in BTCC. What is MetaMask wallet? With over 30 million users, MetaMask Little Fox Wallet is one of the most popular cryptocurrency wallets today. It is free to use and can be installed on the network as an extension

How to use NetEase Mailbox Master How to use NetEase Mailbox Master Mar 27, 2024 pm 05:32 PM

NetEase Mailbox, as an email address widely used by Chinese netizens, has always won the trust of users with its stable and efficient services. NetEase Mailbox Master is an email software specially created for mobile phone users. It greatly simplifies the process of sending and receiving emails and makes our email processing more convenient. So how to use NetEase Mailbox Master, and what specific functions it has. Below, the editor of this site will give you a detailed introduction, hoping to help you! First, you can search and download the NetEase Mailbox Master app in the mobile app store. Search for "NetEase Mailbox Master" in App Store or Baidu Mobile Assistant, and then follow the prompts to install it. After the download and installation is completed, we open the NetEase email account and log in. The login interface is as shown below

How to use Baidu Netdisk app How to use Baidu Netdisk app Mar 27, 2024 pm 06:46 PM

Cloud storage has become an indispensable part of our daily life and work nowadays. As one of the leading cloud storage services in China, Baidu Netdisk has won the favor of a large number of users with its powerful storage functions, efficient transmission speed and convenient operation experience. And whether you want to back up important files, share information, watch videos online, or listen to music, Baidu Cloud Disk can meet your needs. However, many users may not understand the specific use method of Baidu Netdisk app, so this tutorial will introduce in detail how to use Baidu Netdisk app. Users who are still confused can follow this article to learn more. ! How to use Baidu Cloud Network Disk: 1. Installation First, when downloading and installing Baidu Cloud software, please select the custom installation option.

The secret of hatching mobile dragon eggs is revealed (step by step to teach you how to successfully hatch mobile dragon eggs) The secret of hatching mobile dragon eggs is revealed (step by step to teach you how to successfully hatch mobile dragon eggs) May 04, 2024 pm 06:01 PM

Mobile games have become an integral part of people's lives with the development of technology. It has attracted the attention of many players with its cute dragon egg image and interesting hatching process, and one of the games that has attracted much attention is the mobile version of Dragon Egg. To help players better cultivate and grow their own dragons in the game, this article will introduce to you how to hatch dragon eggs in the mobile version. 1. Choose the appropriate type of dragon egg. Players need to carefully choose the type of dragon egg that they like and suit themselves, based on the different types of dragon egg attributes and abilities provided in the game. 2. Upgrade the level of the incubation machine. Players need to improve the level of the incubation machine by completing tasks and collecting props. The level of the incubation machine determines the hatching speed and hatching success rate. 3. Collect the resources required for hatching. Players need to be in the game

How to set font size on mobile phone (easily adjust font size on mobile phone) How to set font size on mobile phone (easily adjust font size on mobile phone) May 07, 2024 pm 03:34 PM

Setting font size has become an important personalization requirement as mobile phones become an important tool in people's daily lives. In order to meet the needs of different users, this article will introduce how to improve the mobile phone use experience and adjust the font size of the mobile phone through simple operations. Why do you need to adjust the font size of your mobile phone - Adjusting the font size can make the text clearer and easier to read - Suitable for the reading needs of users of different ages - Convenient for users with poor vision to use the font size setting function of the mobile phone system - How to enter the system settings interface - In Find and enter the "Display" option in the settings interface - find the "Font Size" option and adjust it. Adjust the font size with a third-party application - download and install an application that supports font size adjustment - open the application and enter the relevant settings interface - according to the individual

How to use Xiaomi Auto app How to use Xiaomi Auto app Apr 01, 2024 pm 09:19 PM

Xiaomi car software provides remote car control functions, allowing users to remotely control the vehicle through mobile phones or computers, such as opening and closing the vehicle's doors and windows, starting the engine, controlling the vehicle's air conditioner and audio, etc. The following is the use and content of this software, let's learn about it together . Comprehensive list of Xiaomi Auto app functions and usage methods 1. The Xiaomi Auto app was launched on the Apple AppStore on March 25, and can now be downloaded from the app store on Android phones; Car purchase: Learn about the core highlights and technical parameters of Xiaomi Auto, and make an appointment for a test drive. Configure and order your Xiaomi car, and support online processing of car pickup to-do items. 3. Community: Understand Xiaomi Auto brand information, exchange car experience, and share wonderful car life; 4. Car control: The mobile phone is the remote control, remote control, real-time security, easy

See all articles