Thomas Hambach

Thoughts of a webdeveloper

Category: memcached

4Gamers.be Launched

After months of intense labor, togheter with PHP Developer Jens and Designer Michiel, I am pleased to announce that the new website 4gamers.be has reached the stadium of public beta. To make the whole website work, we used PHP, CodeIgniter, MySQL (MyIsam and InnoDB), Varnish and Memcache. 4Gamers is een nieuw belgisch gaming portaal dat nu een [...]

Optimizing Drupal 6, Gain Performance and Stability!

In general, Drupal will be sufficiently stable and performant enough to run your average website.  But when you are rebuilding your website or a website of your customer that gets tons of pageviews, you’ll start to encounter slowdowns, downtime & unexpected behaviour. Read more for Drupal 6 optimizing tips & tricks. Do note that I [...]

Multiple memcache instances/servers on windows

Setting up memcache on windows is like taking candy from a baby. You can find all the information and the binaries for memcache at http://jehiah.cz/projects/memcached-win32/ http://code.jellycan.com/memcached/. Note that these binaries will also work for x64 based windows. A little trickier is to set up multiple instances of memcached on your windows machine. Basically you have [...]

memcache_connect() [function.memcache-connect]: Can’t connect to localhost:11211

Encountered this error? It could be as simple as switching the host from localhost to 127.0.0.1 before: <?php $memcache_obj = memcache_connect(‘localhost’, 11211); after: <?php $memcache_obj = memcache_connect(’127.0.0.1′, 11211);