How To Install Redis and phpRedisAdmin on CentOS 6

tlhIngan

Member
Registered
Joined
Jul 12, 2016
Messages
49
Points
8
I read more about Redis cache solution for vitural private server (VPS) and I installed on my VPS with centos 6 but it was failed. How can I install Redis and a web interface for Redis (phpRedisAdmin) on CentOS 6, my using web server is apache with php 5.5?

I mean I will have phpRedisAdmin to manage redis like this image

phpredisAdmin.png

Thanks in advance.
 

Luxin Host

Well-known member
Registered
Joined
Jun 26, 2016
Messages
543
Points
43
you said you have already tried and it failed, could you post the error/crash/fail.

this will help to identify the issue as the installation process is pretty simple and there is not much room for error.
however if you do believe you could have gone wrong at some point follow the link below and post if you still get a fail. (I have sent this tutorial to a friend in the past and it has worked for him.)

http://idroot.net/tutorials/how-to-install-redis-on-centos-6/

Looking forward to your update.

Kind Regards
 

tlhIngan

Member
Registered
Joined
Jul 12, 2016
Messages
49
Points
8
you said you have already tried and it failed, could you post the error/crash/fail.

this will help to identify the issue as the installation process is pretty simple and there is not much room for error.
Yes I failed at this step

Code:
pecl install redis
and it showed the error

[root@myserver ~]# pecl install redis
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/redis requires PHP (version >= 7.0.0, version <= 7.1.0, excluded versions: 6.0.0), installed version is 5.5.37
No valid packages found
install failed
although I installed centos 6 64bit before

Code:
## RHEL/CentOS 6 64-Bit ##
# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm
I am using CentOS 6 64-bit.
 

Luxin Host

Well-known member
Registered
Joined
Jun 26, 2016
Messages
543
Points
43
As it says you need to update.
Run the below command
Code:
pecl channel-update pecl.php.net
and try again, then let me know what it says.
 

tlhIngan

Member
Registered
Joined
Jul 12, 2016
Messages
49
Points
8
Looking forward to your reply on how it went.
I ran

Code:
pecl channel-update pecl.php.net
It worked

[root@myserver ~]# pecl channel-update pecl.php.net
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded
But when I run this command for next step

Code:
pecl install redis
still same error

[root@myserver ~]# pecl install redis
pecl/redis requires PHP (version >= 7.0.0, version <= 7.1.0, excluded versions: 6.0.0), installed version is 5.5.37
No valid packages found
install failed
I need to update to PHP7 or higher?

I don't know my websites can work completely with PHP 7 or not.
The current version of PHP is working as well.
 
Newer Threads
Replies
7
Views
2,635
Replies
5
Views
3,701
Replies
56
Views
14,722
Latest Threads
Replies
0
Views
123
Replies
1
Views
79
Recommended Threads
Replies
0
Views
2,513
Replies
15
Views
6,594
Replies
10
Views
5,133

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top