Skip to content

Installation: Windows

anildash edited this page Sep 13, 2010 · 23 revisions

Notes from Mark on the mailing list:

I though I’d try installing it on my Windows 2003 server box, and it looks like I’ve got the webapp portion working. If you’ve been having problems installing it on a windows box, here’s some of my observations from my install:

(Note: this assumes you already have PHP and MySQL installed and running correctly on your server. Yes, that’s a pretty big assumption,
but you can google lots of tutorials to help get you started. Also, I’m using IIS and the SMTP server built into Windows – you may need to install these if they’re not already running on your system)

  • After you’ve downloaded the web files and set up permissions for the ThinkTank files, you need to grant MODIFY permissions on your
    template_c directory (webapp/template_c) to your internet guest account (SERVER_NAME\IUSR_SERVER). Read and write privileges are not enough. Otherwise, you’ll get lots of strange and frustrating errors from Smarty :)
  • The SMTP server built into Windows 2003 doesn’t like “complex” email addresses. I had to modify line 59 in register.php from:

“From: \”Auto-Response\" <notifications@$host>\r\n" .

To: “From: notifications@$host\r\n” .

  • In your php.ini file, to enable curl and gd, uncomment the lines “extension=php_curl.dll” and “extension=php_gd2.dll”
  • To schedule the crawler, I created a one-line .bat file:

c:\path\to\php\php.exe “c:\path\to\twitalytic\crawler\crawl.php”

By default, you can’t schedule tasks to run more than once daily, but you can get around that: http://support.microsoft.com/kb/226795

Clone this wiki locally