Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Installing PHP module



Normal Mode | Print  

 Installing PHP module (1 Replies, Read 9743 times)
AcikaV
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hello I'm having problems installing phpredis on module on my webuzo VPS server.
I installed redis server, and its working link charm. redis-cli ping returns pong. So I tried and installed phpredis module and tried this from ssh:

php -r "if (new Redis() == true){ echo \"\r\n OK \r\n\"; }"

It returns OK, so that is I beleive OK.

The problem is that when I use the same command from my PHP file it returns Unknown class Redis. So I tried php -m from ssh and it returned that redis is loaded.
So I made new php file which lists enabled php modules:
vasictech.net/api/mod.php

Redis is not there.

So then I tried php -i on sshand I noticed that PHP version is 5.3.3, and when I try  phpinfo() in a php file on server:
vasictech.net/api/info.php

It returns that version is 5.4.34

So than I added redis.so to /usr/local/apps/php54/ext/
and added extension=redis.so to /usr/local/apps/php54/etc/php.ini
And it still not loading... How can I fix this :/
IP: --   


Threads
 AcikaV   Installing PHP module (1 Replies, Read 9743 times)
    |--  valley   Seems you have...   on January 31, 2015, 6:04 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 28, 2024, 8:17 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.094