Saturday, November 12, 2022

[FIXED] How to install memcached with php 7.1 in centOS?

Issue

I've tried following commands:

  • sudo yum -y update
  • sudo yum install -y libevent libevent-devel
  • sudo yum install -y memcached
  • sudo yum install -y php-pecl-memcache
  • sudo service memcached restart
  • sudo service httpd restart

I can see only memcache module which is installed after run above commands.


Solution

Finally got Solution! I've done some research on installation any module for php 7.1. I got success while run below command:

  • sudo yum install -y php71-memcached [use 72 instead of 71(php version) for php7.2]


Answered By - Mitesh Vasava
Answer Checked By - Timothy Miller (PHPFixing Admin)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.