问题描述
在 Windows 上运行 PHP 5/Zend MVC 生产应用程序有什么需要注意的主要问题吗?特定的应用程序是 Magento,一个电子商务系统,客户对在他们的数据中心安装 Linux 机器真的不感兴趣.有没有人有幸让 PHP 5 和 Zend MVC 在 IIS 上正常工作?
Are there any major issues to be aware of running a PHP 5 / Zend MVC production application on Windows? The particular application is Magento, an ecommerce system, and the client is really not interested in having a Linux box in their datacenter. Has anyone had luck getting PHP 5 and Zend MVC working correctly on IIS?
推荐答案
是的,它有效.Microsoft 和 Zend 正在合作使 PHP 能够像在 Linux 上一样运行.Zend 甚至为 Windows 和 iis 提供了其核心包(包括 php、mysql 和一些控制面板)的认证版本.此外,Zend Framework 应该是真正独立于平台的.
Yes, it works. Microsoft and Zend are working together to get PHP running as it runs on linux. Zend even has a certified version of their core package (includes php, mysql and some control panel) for Windows and iis. Also Zend Framework is supposed to be truly platform independend.
另一种选择是在 Windows 上使用 Apache,但 IIS 对于静态页面查看速度更快,并且还有一些其他有趣的选项.不支持.htaccess文件,重写需要依赖其他IIS组件.
Another option instead is to use Apache on Windows, but IIS is faster for static page views and also has some other interesting options. .htaccess files are not supported, so for rewriting you need to rely on other IIS components.
这篇关于Windows 和 IIS 上的 PHP 5 和 Zend MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!