有没有办法在运行IIS的同一台服务器上运行PHP和ASP?

时间:2021-09-11 18:16:45

Very direct question, i need to know if its possible and maybe where to start reading about that. Im a programmer with zero experience in windows servers and a client is asking if we can deliver in their windows boxes(and no they wont let us use any kind of virtualization in them).

非常直接的问题,我需要知道它是否可能,也许从哪里开始阅读。我是一个在Windows服务器和客户端没有经验的程序员,他们问我们是否可以在他们的Windows框中交付(并且他们不会让我们在其中使用任何类型的虚拟化)。

Thanks guys, i know its not 100% programming related but... hope you can help =)

谢谢大家,我知道它不是100%编程相关但...希望你能帮助=)

EDIT: Wow, fast reply! Thanks guys!!!

编辑:哇,快速回复!多谢你们!!!

3 个解决方案

#1


Yes, it's very easy. Just run the ISAPI installer from the PHP websiite.

是的,这很容易。只需从PHP websiite运行ISAPI安装程序即可。

#2


Yes you can. I don't think there is anything different about the setup.

是的你可以。我不认为这个设置有什么不同。

#3


I've had exactly this setup - ISAPI PHP on a production server running windows 2003/IIS for the last couple of years. The majority of code on the site is PHP there's a little ASP too. Never had a single issue with it.

我已经完成了这个设置 - 在过去几年中运行Windows 2003 / IIS的生产服务器上的ISAPI PHP。网站上的大部分代码都是PHP,也有一点ASP。从未遇到任何问题。

PHP on Windows is extremely stable. Personally I like it because I can then easily use my favourite database - SQLServer - the so-called WISP stack.

Windows上的PHP非常稳定。我个人喜欢它,因为我可以轻松使用我最喜欢的数据库--SQLServer - 所谓的WISP堆栈。

Disclaimer is that this isn't a particularly heavily used server - as can be seen from having SQLServer on the same box - but it fronts a publicly available service sector website and the a significant web application for the same organisation so does see significant real-world use.

免责声明,这不是一个特别使用的服务器 - 从同一个盒子上的SQLServer可以看出 - 但它面向公共服务部门网站和同一组织的重要Web应用程序,因此确实看到重要的真实 - 世界使用。

#1


Yes, it's very easy. Just run the ISAPI installer from the PHP websiite.

是的,这很容易。只需从PHP websiite运行ISAPI安装程序即可。

#2


Yes you can. I don't think there is anything different about the setup.

是的你可以。我不认为这个设置有什么不同。

#3


I've had exactly this setup - ISAPI PHP on a production server running windows 2003/IIS for the last couple of years. The majority of code on the site is PHP there's a little ASP too. Never had a single issue with it.

我已经完成了这个设置 - 在过去几年中运行Windows 2003 / IIS的生产服务器上的ISAPI PHP。网站上的大部分代码都是PHP,也有一点ASP。从未遇到任何问题。

PHP on Windows is extremely stable. Personally I like it because I can then easily use my favourite database - SQLServer - the so-called WISP stack.

Windows上的PHP非常稳定。我个人喜欢它,因为我可以轻松使用我最喜欢的数据库--SQLServer - 所谓的WISP堆栈。

Disclaimer is that this isn't a particularly heavily used server - as can be seen from having SQLServer on the same box - but it fronts a publicly available service sector website and the a significant web application for the same organisation so does see significant real-world use.

免责声明,这不是一个特别使用的服务器 - 从同一个盒子上的SQLServer可以看出 - 但它面向公共服务部门网站和同一组织的重要Web应用程序,因此确实看到重要的真实 - 世界使用。