WebMatrix 2 for PHP development

Staples

Diamond Member
Oct 28, 2001
4,953
119
106
A few days ago I came across Microsoft WebMatrix 2. It makes getting IIS up and running as well as installing various scripting environments and databases as well as web apps (several CMS, forums, etc) point and click easy.

I was interested in the editor since I love Visual Studio and heard that even for PHP editing, it supported InteliSense. Not everything is great about it but the editor is very nice and I got PHP and MySQL up and running on IIS Compact or whatever they call it with only its Wizard.

Anyway, my question is.
What really kills this thing is the way (or lack there of) of error output when you are running PHP. Instead of PHP error noted on the webpage, WebMatrix will just issue a 500 error page if anything goes wrong. Without errors being output, this really makes it a tough sell if I will continue using it.

Who else uses it for PHP development and is there a way to fix 'error suppression'?
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
I've never even thought about running php on IIS.... no technical reasons, it's just always been that every place I've been hired to write php it was linux.
 

beginner99

Diamond Member
Jun 2, 2009
5,320
1,768
136
I suggest you switch to Apache, XAMPP for development.

And if you want to go further switch to linux. IMHO it's actually simpler there.

Netbeans also has auto-complete for PHP + xdebug integration (debugging, profiling...).

And installing certain apache or php modules was easier on Ubuntu server (eg. no gui) than windows xp.
 

drebo

Diamond Member
Feb 24, 2006
7,034
1
81
I've had multiple IIS+PHP servers in production over the years. I brought one up a couple months ago with IIS7.5 and 3 different versions of PHP (configurable via local web.config file per directory) and it works great. Hosting about 70 sites right now.

No issues at all.