News for hackers. Stuff that matters.
Re:Boris: A tiny but robust REPL for PHP by glurgh on Wednesday May 08, 2013 @05:05AM (#5673240)
PHP and Windows are often enough at odds that not having a nice REPL is probably going to be the least of your problems. The other poster is right, bring up a VM and be happy.
Re:Boris: A tiny but robust REPL for PHP by dragonmantank on Wednesday May 08, 2013 @09:57AM (#5674124)
Huh? PHP and IIS work perfectly fine together. MS has worked really hard to make PHP a first-class language on their OS. PHP 5.3 and IIS 7.5+ are dead simple to get working. Azure features PHP support as one of their main features.

I've even got a client on an ancient Windows 2000 box running PHP. Took all of an hour to get running. Yes, not the most preferred stack, but they aren't at odds.

Re:Boris: A tiny but robust REPL for PHP by jiggy2011 on Wednesday May 08, 2013 @11:20AM (#5674686)
If you are using IIS/PHP how interchangeable is that with LAMP? In other words if I develop locally using IIS/Windows can I just drop the same code onto a LAMP server without breaking anything?
Re:Boris: A tiny but robust REPL for PHP by jtreminio on Wednesday May 08, 2013 @12:47PM (#5675255)
There are a few functions that are not available on Windows.

If you hard-code paths in the code that refer to Linux-specific things, it won't work in Windows.

That said, if it works on Windows, it will most likely work on Linux, but a VM should still be favored due to the probability of prod being Linux.

Re:Boris: A tiny but robust REPL for PHP by wvenable on Wednesday May 08, 2013 @12:54PM (#5675307)
I run PHP on Windows but with the full LAMP static (Apache running on Windows) and deploy to Linux without modification. I suspect you could also do that with IIS (as PHP abstracts the server interface) but I have not tried it.
Re:Boris: A tiny but robust REPL for PHP by soulclap on Wednesday May 08, 2013 @02:18PM (#5675882)
I just wanted to point out that it unfortunately doesn't work on Windows. And thanks for the suggestions, I am regularly setting up and using VMs already.