在XP/IIS 5.1上安装PHP?

问题描述:

我正在尝试将PHP安装到我的开发盒(XP SP3/IIS 5.1)上,我已经下载了PHP 5.2.6稳定版(MSI安装程序包),并且出现错误找不到httpd.conf".之后,安装似乎很快(比我预期的要快),并且当我尝试从我创建的localhost测试目录执行简单的PHP脚本时,出现了一系列丢失的DLL错误.我看到那里的帖子表明它可能并且已经完成.我没有在PHP.NET支持下看到此MSI的任何错误报告.有什么想法吗?

I am trying to install PHP onto my development box (XP SP3 / IIS 5.1) I've got PHP 5.2.6 stable downloaded (the MSI installer package) and I am getting an error "Cannot find httpd.conf". After that the install seems to breeze by quickly (more quickly than I would have expected) and when I try to execute a simple PHP script from my localhost test directory that I created, I get a slew of missing DLL errors. I have seen posts out there which indicate that its possible and has been done. I dont see any bug reports for this MSI at PHP.NET support. Any ideas?

不确定您是否已经拥有它,但我使用 http://www.wampserver.com/en

Not sure if you already have this but I use WAMP from http://www.wampserver.com/en

设置简单容易,它在系统任务栏中有一个图标,以显示其处于活动状态,您可以通过单击图标并对其进行设置使其联机或对外部可用.我在初次学习PHP时就使用了此功能,因为它具有所有功能,无需设置任何其他服务,例如IIS.

It's easy and simple to set up, it has an icon in the system tray to show that its active and you can make it go online or available to the outside by clicking the icon and setting it. I used this when I was first learning PHP since it has everything in one, no need to setup any other service like IIS.