Installing APCu in PHP 7.1

0

I would like to install APCu in PHP 7.1 through windows. I am installing an application and running directly on my machine through XAMPP, but when it arrives at the time of installation it shows the message: The apcu-bc extension is not present.

Does anyone know how to install this extension in PHP 7.1?

Thank you

    
asked by anonymous 17.07.2017 / 14:25

1 answer

0

Download the file php_apcu.dll here: link

Download the file php_apcu_bc.dll here: link

Then copy the files php_apcu.dll and php_apcu_bc.dll to the ext folder in the PHP installation folder.

Open the file php.ini and find the following lines and remove the comments, or add them:

extension=php_apcu.dll
extension=php_apcu_bc.dll

Then add the following configuration lines also in php.ini :

[APCu]
apc.enabled=1
apc.shm_size=32M
apc.ttl=7200
apc.enable_cli=1
apc.serializer=php

Restart the server and try again.

    
17.07.2017 / 15:05