Monday 18 July 2011

redis twitter clone retwis

The php version  is not working for me. source and docs

Thinking of switching PHP Redis client to phpredis

Installing phpredis
  1. phpize
  2. configure
  3. Libraries have been installed in:
       /usr/local/nicolasff-phpredis-f4030ea/modules
    
php -v
PHP Warning:  PHP Startup: redis: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP 5.3.6-11 with Suhosin-Patch (cli) (built: Jun 12 2011 13:57:38) 
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    with XCache v1.3.2, Copyright (c) 2005-2011, by mOo

Giving up, to try..
predis
https://github.com/nrk/predis/
velvet:/usr/bin# pear channel-discover pearhub.org
Adding Channel "pearhub.org" succeeded
Discovery of channel "pearhub.org" succeeded
velvet:/usr/bin# pear install pearhub/predis
downloading predis-0.6.6.tgz ...
Starting to download predis-0.6.6.tgz (40,757 bytes)
...........done: 40,757 bytes
install ok: channel://pearhub.org/predis-0.6.6

No comments:

Post a Comment