I installed Predis on Ubuntu and when I try to connect I get the error: PHP Fatal error: Class 'Predis\Client' not found in /dir/. I have moved the installation to different directories, and moved my php script to different directories as well, but after several hours of searching online, guessing, and trying to make logical choices...I remain in the dark on the configuration problem. Thank you in advance
Asked
Active
Viewed 344 times
0
-
Why not give details of what changes you made to the /dir/ location when you moved the installation? – Emacs User Mar 04 '16 at 01:49
-
I had Predis in my home dir, then I tried /etc/ and I tried moving the scripts in several of the directories within Predis. I installed with git, then removed it - a complete purge - then reinstalled with composer, which was supposed to automatically provide the correct configuration. Then repeated many of the moves I mentioned, since composer had not fixed the problem. – user2962990 Mar 04 '16 at 02:00
-
There was an error in the php.ini file. Problem fixed. Not a generalized issue. – user2962990 Mar 06 '16 at 20:20
-
Can you post an answer with how you fixed the error for the benefit of others. Thanks. – Emacs User Mar 07 '16 at 14:37