Archive for December, 2007

Getting phpsh to work on a mac

Tuesday, December 18th, 2007

I had an issue getting phpsh to work on my mac - I kept getting the following error: Traceback (most recent call last): File "./phpsh", line 20, in import readline OK, seems easy enough. So I compiled python with readline support. ./configure --prefix=/usr/local/python --enable-readline I change the ...

ob_start() causes phpsh to hang, sort of

Saturday, December 15th, 2007

If you manually call ob_start() at the beginning of your script, you might notice that you are unable to use phpsh. By commenting it out, I was able to fix the issue. I don't think it technically hangs, it just sits there with the data in a buffer waiting to ...

Regex Coach Mac Substitute

Sunday, December 2nd, 2007

For a while I had to use a Windows box for my development. Fortunately, I was able to make a good case for my company to switch me to a MacBook Pro. One of the tools that took me a while to track down was a regex testing ...