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


基础教程推荐
- PHP 类:全局变量作为类中的属性 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 如何替换eregi() 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01