views:

847

answers:

5

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?

+1  A: 

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.

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.

Tomh
+1  A: 

Get the IIS ReWrite module which will make things a little easier.

http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1691

I have Zend, PHP, Apache and MySQL running on my Vista x64 machine but I will give it a try on running it on IIS instead of Apache.

I imagine it wouldn't be too difficult

Gautam
+2  A: 

Well I got IIS, Zend and PHP all working nicely.

Installed the ReWrite module, followed :this article Got the Zend re-write rule from here and ensured short_opentag = on in my php.ini

So far so good

Gautam
A: 

We've also made some progress in getting Magento running on a Windows Server 2008 box with IIS7 (under ISAPI). If we disable URL rewriting the system works quite well however we've not been able to achieve success with Magento and any of rewriting systems (Helicon ISAPI Rewrite-Lite, Ape and the Microsoft Rewrite Module).

A: 

Magento is not supported on windows. I did install it but is more complicated than linux and it makes no sense in developing in an environment that will be different than the deployment one. Your client should reconsider.

Elzo Valugi