PHP APCU on Debian

apt install gcc make autoconf libc-dev pkg-config php-dev
pecl channel-update pecl.php.net
pecl install apcu

You should add “extension=apcu.so” to php.ini

/etc/php/8.2/fpm/conf.d/20-apcu.ini

or try:

echo "extension=apcu.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
This entry was posted in Hosting, Informacione tehnologije and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.