Giter Site home page Giter Site logo

Comments (4)

erikdubbelboer avatar erikdubbelboer commented on May 13, 2024

Did you follow the installation instructions?: https://github.com/ErikDubbelboer/phpRedisAdmin#installingconfiguring

from phpredisadmin.

chrom avatar chrom commented on May 13, 2024

Yes you're right, my mistake. reinstalled through Compouser.
Prompt how to properly set the configuration phpRedisAdmin connections of through the unix socket.

from phpredisadmin.

chrom avatar chrom commented on May 13, 2024

Prompt what I'm doing wrong:
config.inc.php

$config = array(
'servers' => array(
array(
'name' => 'local server', // Optional name.
// 'host' => '127.0.0.1',
'host' => '/tmp/redis.sock',
'port' => '',
'filter' => '*',
// Optional Redis authentication.
//'auth' => 'redispasswordhere' // Warning: The password is sent in plain-text to the Redis server.
),

ERROR:
Fatal error: Uncaught exception 'Predis\ClientException' with message 'Invalid URI: /tmp/redis.sock' in /usr/www/redis_admin/www/admin/vendor/predis/predis/lib/Predis/Connection/ConnectionParameters.php:119 Stack trace: #0 /usr/www/redis_admin/www/admin/vendor/predis/predis/lib/Predis/Connection/ConnectionParameters.php(39): Predis\Connection\ConnectionParameters::parseURI('/tmp/redis.sock') #1 /usr/www/redis_admin/www/admin/vendor/predis/predis/lib/Predis/Connection/ConnectionFactory.php(100): Predis\Connection\ConnectionParameters->__construct('/tmp/redis.sock') #2 /usr/www/redis_admin/www/admin/vendor/predis/predis/lib/Predis/Client.php(114): Predis\Connection\ConnectionFactory->create('/tmp/redis.sock') #3 /usr/www/redis_admin/www/admin/vendor/predis/predis/lib/Predis/Client.php(52): Predis\Client->initializeConnection('/tmp/redis.sock') #4 /usr/www/redis_admin/www/admin/includes/common.inc.php(86): Predis\Client->__construct('/tmp/redis.sock') #5 /usr/www/redis_admin/www/admin/index.php(3): require_once('/usr/www/red in /usr/www/redis_admin/www/admin/vendor/predis/predis/lib/Predis/Connection/ConnectionParameters.php on line 119

from phpredisadmin.

erikdubbelboer avatar erikdubbelboer commented on May 13, 2024

You need to use: 'host' => 'unix:///tmp/redis.sock',

from phpredisadmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.