Cannot find save handler 'redis'

1.223 görüntüleme
İlk okunmamış mesaja atla

Ash

okunmadı,
21 Tem 2015 04:48:2321.07.2015
alıcı redi...@googlegroups.com

I am running a PHP 5.4 hosted Web App on Azure. To manage session handling I have configured a Redis cache instance on Azure.

I have set the session save path & handler:

session.save_handler = redis
session.save_path = "tcp://kbcache.redis.cache.windows.net:6379?auth=***"

I have also configured the Redis extensions:

PHP_EXTENSIONS  bin\php_igbinary.dll
APPSETTING_PHP_EXTENSIONS   bin\php_igbinary.dll
PHP_EXTENSIONS02    bin\php_redis.dll
APPSETTING_PHP_EXTENSIONS02 bin\php_redis.dll

However when I browse to my website I receive the message:

Warning: session_start(): Cannot find save handler 'redis' - session startup failed in D:\home\site\wwwroot\index.php(22) : eval()'d code on line 2

What am I missing?

Ash

okunmadı,
21 Tem 2015 09:53:4821.07.2015
alıcı redi...@googlegroups.com
Digging into my PHP logs I found this:

 PHP Warning:  PHP Startup: Unable to load dynamic library 'd:\home\site\ext\php_igbinary.dll' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'd:\home\site\ext\php_redis.dll' - The specified module could not be found.
 in Unknown on line 0

Any ideas anyone?

Josiah Carlson

okunmadı,
21 Tem 2015 13:15:0621.07.2015
alıcı redi...@googlegroups.com
The paths provided in your configuration is different than the paths in your logs. It looks to me like you haven't properly configured php to load the Redis libraries.

 - Josiah


--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

Tümünü yanıtla
Yazarı yanıtla
Yönlendir
0 yeni ileti