PHPNW12: Don’t reboot, debug!

Some notes from Joshua Thijssen’s talk, which focussed on the knowledge and methods needed to deal with problems in production in a measured way. I was at the back of the room, and some of this is outside my wheelhouse, but here’s the notes; just bear in mind I might have either misheard or misunderstood stuff and feel free to correct me in the comments.

Deal with the problem now. Don’t reboot. Don’t reboot your system every night on a Cron job to solve a slowdown! Listen to your problems, sort them out and save yourself some future pain.

If you’re rebooting every night to solve some system slowdown, but your visitors suddenly increase 200% then you’re now rebooting at night AND at lunchtime. Not good. Not sustainable.

Continue reading PHPNW12: Don’t reboot, debug!

Clickable stack traces with Netbeans

I’m clearly in a fickle mood this month, as I’ve changed my PHP editor again, this time to Netbeans (thanks to the tireless nagging of @JJJ)… so far, so good. I particularly love being able to jump to declarations quickly and easily.

One hurdle I overcame today, and I’d be interested to know if there’s a more Netbeans-y way of doing this, is getting my beloved Xdebug clickable stack traces (see my previous post to get these working with Textmate and Sublime Text). Continue reading Clickable stack traces with Netbeans

Clickable stack traces with PHP Xdebug and Sublime Text (other editors/IDEs are available)

Have a look at this. Ugly, isn’t it? But so so useful.

Continue reading Clickable stack traces with PHP Xdebug and Sublime Text (other editors/IDEs are available)