問題描述
在 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的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!