Thursday, 3 February 2011

phpcassa and windows 7.

after years and years of not logging into IRC, I found myself logging in this evening and connecting to freenode.net ... #cassandra ... I was having some big problems with PHP connecting to Cassandra.

In the end, you know what the problem was?

C:\windows\System32\drivers\etc\hosts

The default is to have localhost commented out.  For whatever reason, PHP on windows was unable to resolve localhost and could not connect to Cassandra.  Once this was uncommented, the flood gates opened and some phpcassa goodness arrived.

thobbs was great.  the project url, to which he is the author:  https://github.com/thobbs/phpcassa

No comments: