0

I am trying to install APCU and I got an error:

mkdir -p /usr/src/php/ext/apcu && curl -fsSL        https://pecl.php.net/get/apcu | tar xvz -C "/usr/src/php/ext/apcu" --strip 1 && docker-php-ext-install apcu

acc to: Facing issues while installing apcu_bc package on PHP 8

I got:

bash: docker-php-ext-install: command not found

I have got docker installed.

tripleee
  • 175,061
  • 34
  • 275
  • 318

1 Answers1

0

Problem solved. What I did was:

1. sudo dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm

2. sudo yum install php-pecl-apcu

3. sudo yum install php-pear httpd-devel pcre-devel gcc make

4. #apache

sudo systemctl restart httpd

Found it here >> https://shouts.dev/articles/install-apcu-on-centos-rhel-8