All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
asp.net2.0用户控件的应用
asp.net2.0母版页与内容页的创建
php+mysql实现无限级分类_[PHP教程]
asp.net2.0中GridView控件应用实例
使用.NET多线程技术显示实时股票信息_.net资料_编程技术
UPDATE注射(mysql+php)的两个模式_php资料_编程技术
Ajax开发实例教程.NET页面屏聊系统_[Asp.Net教程]
C#中生成中文繁体web页面_[Asp.Net教程]
php时间加减_php资料_编程技术
学PHP新手来看,如何获得PHP相关资料?_php资料_编程技术
Reading number is top 10 pictures
The money of more than 100 countries and regions13
明星与豪宅
Photographed the passion of the clients and prostitutes in the sex trade picture1
2012 national geographic daily picture2
Summer is most suitable for young people to travel in China2
Female model behind the bitterness, often being overcharged2
西游日记4
乳娘帕梅拉安德森5
A man's favorite things5
Chinese paper-cut grilles art appreciation7
Download software ranking
Unix video tutorial15
Unix video tutorial5
天龙八部十二宫服务端
Love the forty days
Ashlynn Video2
Proficient in JavaScript
Visual C++界面编程技术
Boxer's Top ten classic battle6
徐若瑄成名作“魔鬼天使”
C++编程教程第三版
delv published in(发表于) 2013/12/29 4:47:35 Edit(编辑)
让IIS支持PHP操作过程_php资料_编程技术

让IIS支持PHP操作过程_php资料_编程技术

让IIS支持PHP操作过程_php资料_编程技术-你的首页-uuhomepage.com

一、首先把php的压缩包(这里以PHP4.3.2为例)解压到C:\php-4.3.2-Win32目录中,然后从其中找到一个叫php.ini-recommended的文件,把他更名为php.ini。

二、打开该文件,找到extension_dir = "./" ,将其改为 extension_dir = "C:\php-4.3.2-Win32\extensions" ;再找到 session.save_path = /tmp ,将其改为 session.save_path = C:\php-4.3.2-Win32\sessions 。(注:此时你需要在C:\php-4.3.2-Win32目录下建立sessions文件夹,以存放session 。)

三、将修改好的php.ini文件拷贝至C:\winnt目录下,将C:\php-4.3.2-Win32下的php4ts.dll文件拷贝到C:\winnt\system32目录下。

四、打开"Internet服务管理器",选择你想支持PHP的站点,打开属性页,点击"ISAPI筛选器"选项卡,点击"添加",在弹出的"筛选器属性"窗口的"筛选器名称"中填入"php";在"可执行文件"中填入"C:\php-4.3.2-Win32\sapi\php4isapi.dll"(如图一所示),点击确定。

五、点击"主目录"选项卡,选择"应用程序设置"中的"配置"按钮,在弹出的"应用程序配置"窗口中点击"添加"按钮,在弹出的"添加/编辑应用程序扩展名映射"窗口中的"可执行文件"中填入"C:\php-4.3.2-Win32\sapi\php4isapi.dll","扩展名"一项填入"php" 。

OK,一切搞定,重起IIS,到你的页面文件目录下写一个phpinfo,测试一下PHP文件能否被正确解析。如果产生500错误,请确定你没有忘记第三步。





添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.