header photo

via positiva

php

Fear and Loathing in IIS

So, yesterday I had a lull at work and I took it upon myself to update our much-neglected internal knowledgebase (Drupal, naturally). It's an odd configuration -- PHP/MySQL running on IIS alongside a python timesheet program and an ASP application -- but it was working until a server crash a few months ago.

What I thought would be a quick job turned into eight hours of pain thanks to what I eventually realized was an obscure bug in IIS 4.0 and higher. If you're ever trying to install Drupal on IIS, save yourself the pain and do not run PHP in CGI mode. I posted a handbook entry on Drupal.org to share the pain. In a nutshell, IIS plus PHP in CGI mode means that server redirects on a web app's login page trash the session data. Converting to ISAPI mode solves it. After getting that sorted out, things seem to be humming along nicely. Hooray!

Syndicate content

Miniblog

  • RT @netaustin I suspect that #NoSQL's success is largely due to lack of innovation by MySQL post-acquisition. 3 hours ago
  • Two days to the #sxsw panel on Open Source: 'Selling milk when the cow is free.' What questions do YOU want to sneak into the queue? 19 hours ago
  • OH: "'Middle class' means being able to waste an hour arguing about the definition of middle class with your college-educated friends." 23 hours ago
  • Dear #drupalweb: Any designers out there familiar with whipping up Zen-based pure CSS skins? 1 day ago
  • "New drinking game! take a drink every time eaton says 'canonical!'" Truly, @lizak knows how to get a crowd drunk FAST. 3 days ago

SXSW Interactive 2010!

Come to the 2010 CMS Expo