Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Redis
  • What php extension do i need so i can use redis in fuelphp?
    I use this one now pecl-redis
  • FuelPHP includes the Redis_Db class, which is a pure-PHP implementation of a Redis client. It does not require any external dependency, it communicates with the Redis server using sockets.

    Obviously, since it's a PHP implementation, it's slower than using an extension, so for any serious usage I would suggest you keep using the PECL extension.
  • Ok clear... Would be nice if the redis db driver can use the pecl extension and fallback to php implementation if extension is not available?
  • Not sure there is any point. The Redis_Db class doesn't do anything magical, it just provides the same sort of methods the PECL extension gives.

    It's primarily there for environments where you need a redis library, but you are not in a position to install the PECL extension,

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion