Aka “Learnt the hard way: DSO-woe and Su(per)PHP”
Act 1: Prologue; The scene is set
For the previous year of my Memset VPS, things have run fine. Having a VPS to ourselves and being rid of nasty shared pool hosting was a great move. Not the cheapest option, but hosting seems one of those services where you get what you pay for and slow websites don't reflect well on anyone.
Act 2: Storm clouds gather
The first real problem, and where this blog post begins, was when I started noticing bizarre stuff going on with files produced by the excellent CE Image plugin for Expression Engine. Images were being created and cached in a specific folder where browsers would pull from when required. As I'd recently switched to a local – dev environment workflow, I was finding that when files were being uploaded via Beanstalk, the user:group permissions were causing deployments to fail.