Phpredis not installed...check README document for installation

Hello

             i recently download latest version of emoncms that is may be V.7.0 which works on Redis technology.

 

i do procedure as shown in installation procedure...but when i tried to load   http://localhost/emoncms  

 

i got error 

 

"Can't connect to redis database, phpredis is not installed, see readme for redis installation"

 

I lookout too much on internet for solving this error but could not find it. i do installation of  php_redis.dll and php.igbinary.dll

  in php.ini but still same error.

 

pleas help me out...thanks

TrystanLea's picture

Re: Phpredis not installed...check README document for installation

Hello epsilon, I have not yet tested the installation of emoncms 7  on windows but this may be useful:

https://github.com/nicolasff/phpredis/issues/213#issuecomment-11361242

and there appears to be pre compiled binaries here:

http://char101.github.io/phpredis/

is this what you used?

you may need to restart apache2 at the end.

andreva's picture

Re: Phpredis not installed...check README document for installation

I also have the same error

usman1501's picture

Re: Phpredis not installed...check README document for installation

facing the same issue!!

Help requried!!

thebluehill's picture

Re: Phpredis not installed...check README document for installation

me too 

TrystanLea's picture

Re: Phpredis not installed...check README document for installation

Is everyone facing the same issue on windows? If your using linux, have a raspberrypi install these are the steps you need from the readme:

To upgrade you will need redis server installed and the phpredis client:

sudo apt-get install redis-server
sudo pecl install redis

Add pecl redis module to php5 config

sudo sh -c 'echo "extension=redis.so" > /etc/php5/apache2/conf.d/20-redis.ini'
sudo sh -c 'echo "extension=redis.so" > /etc/php5/cli/conf.d/20-redis.ini'

If anyone is a windows wiz and can help with emoncms installation there that would be greatly appreciated by a lot of people Im sure. Timestore installation is still an outstanding issue I think on windows too.

brettbeeson's picture

Re: Phpredis not installed...check README document for installation

+1 on this error on Windows 7

I'm happy to investigate (though I'm not sure about the 'wiz' part :) ).

Can you provide some pointers, such as

- what is redis? what does it do? is it part of Apache?

- more info on Timestore issues to date. I assume this will be the next error!

 

ukmoose's picture

Re: Phpredis not installed...check README document for installation

Not trying to hijack the thread but just flagging that timestore installation is also an issue on Mac OS X. 

brettbeeson's picture

Re: Phpredis not installed...check README document for installation

Hmm... Further investigation shows that for Windows (I'm on Win7) users:

Redis doesn't have a good Win7 version (http://redis.io/download). The binaries mentioned above are for the client.

Timestore appears *nix only, (although says it's in C, but only a make file, no Win7 binaries)

This appears to me to be a show-stopper for Win7 hosting, as Timestore appears integral to EMS. However, OEM has Win7 instructions for installation, so it clearly used to work (?).

Any background / input is much appreciated, as I'm doing a lot of guessing here.

TrystanLea's picture

Re: Phpredis not installed...check README document for installation

Thanks for taking a look Brett, There appears to be a redis server .exe here https://github.com/MSOpenTech/redis which is the one linked from the download's page. Not sure if it will work though.

Timestore is not integral to emoncms as its still possible to use the mysql feed engine and the phptimeseries feed engine which have both been tested to work but from a features and performance perspective it would be cool to get it to work. It should theoretically be compilable but it may take some digging to work out how.

The current install documentation for emoncms was written for version 5 before timestore and redis. 

If redis can be ran on win7 then at least emoncms will run and be useable with the other feed engines.

 

 

joe's picture

Re: Phpredis not installed...check README document for installation

Same here, windows 7, asks for php_redis.

I would really like to get this software up and running.  If anyone can test it out and provide detailed instructions on how to get redis working on windows following the WAMP install that would be beneficial.  I have gotten so far as to verify all previously posted suggestions do not work.  Unfortunately (as with most users) *inx programming and command line skills are unavailable.

Is there a work around such as disabling the need for redis?

I will watch this thread for a viable solution.

TrystanLea's picture

Re: Phpredis not installed...check README document for installation

Probably the easiest way to get emoncms up and running without redis is to use version 6.9 the pre-redis release https://github.com/emoncms/emoncms/releases/tag/v6.9

It may well be possible to modify emoncms to have a settings option to enable redis and otherwise fall back on mysql, thats a thought.

argofanatic's picture

Re: Phpredis not installed...check README document for installation

Solution: This worked for me.

Ensure that make in installed (sudo apt-get install make)

1. sudo apt-get install php-pear

2. sudo apt-get install php5-dev

3. sudo apt-get install libcurl3-openssl-dev

4. sudo pecl install redis

sudo sh -c 'echo "extension=redis.so" > /etc/php5/apache2/conf.d/20-redis.ini'
sudo sh -c 'echo "extension=redis.so" > /etc/php5/cli/conf.d/20-redis.ini'

 

The above will allow you to launch the emoncms website and log on.

:)

BioGuyver's picture

Re: Phpredis not installed...check README document for installation

I am having the above issue on what was a working installation.

I did a clean install on a ubuntu 12 server and all was great and working as it should be. A distribution upgrade to 13.10 seems to have broken the install.

Going to my server now results in the phpredis issue and I have re followed the instructions for making redis work and the instructions above and without luck. Its still not working even after a complete server restart since the upgrade and testing.

Any ideas?

Cheers

Ja

 

yves's picture

Re: Phpredis not installed...check README document for installation

Had something similar. After apt-get upgrade, the website failed with a redis-server error. 

No connection was possible to the redis-server. In my case it was probably a corrupted dump.rdb file.

I stopped the redis-server. Deleted the /var/lib/redis/dump.rdb. Then restarted the server and my website came back...

Not sure, if this is an acceptable workaround, because i am new to emoncms and linux as well....(working on hdd+pi emoncms)

Maybe some more experienced user jumps in to give some advise.

 

Yves

efidi13's picture

Re: Phpredis not installed...check README document for installation

Sorry for resuming this old thread.

I just wanted to thank yves because I had a similar issue and his workaround fixed the problem.

Regards,

Federico.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.