#1010646 php-nrk-predis: After install php-nrk-predis, Predis seems to be unavailable for applications e.g. Horde

#1010646#5
Date:
2022-05-05 22:36:33 UTC
From:
To:
Dear Maintainer,


The php-nrk-predis package put the Predis library files under /usr/share/php/php-nrk-predis. The directory /usr/share/php/Predis is created but left empty.

However, it seems that /usr/share/php/Predis is the location where the Predis library is system-wide available. When setting Horde Groupware to use a Redis server for caching, one gets the followinf message: "A fatal error has occurredClass 'Predis\Client' not found".

Making /usr/share/php/Predis a symlink to /usr/share/php/php-nrk-predis solved the problem (at least for Horde). So I suppose that post-0install script could be adjusted to make this automatically.

I also cofirmed that the php-nrk-predis package on 'testing' install the Predis files under /usr/share/php/Predis ans makes /usr/share/php/php-nrk-predis a symlink to /usr/share/php/Predis.

Regards,
Leonardo Lopes