PHP 5 and Zend MVC on Windows and IIS(Windows 和 IIS 上的 PHP 5 和 Zend MVC)
问题描述
在 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Windows 和 IIS 上的 PHP 5 和 Zend MVC
- 如何从数据库中获取数据以在 laravel 中查看页面? 2022-01-01
- 如何使用 Google API 在团队云端硬盘中创建文件夹? 2022-01-01
- Laravel 5:Model.php 中的 MassAssignmentException 2021-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- 覆盖 Magento 社区模块控制器的问题 2022-01-01
- PHP - if 语句中的倒序 2021-01-01
- 使用 GD 和 libjpeg 支持编译 PHP 2022-01-01
- openssl_digest vs hash vs hash_hmac?盐与盐的区别HMAC? 2022-01-01
- PHP foreach() 与数组中的数组? 2022-01-01
- 如何在 Symfony2 中正确使用 webSockets 2021-01-01
