Martin73
Basic Pleskian
I used the following instructions for installing memcached and changed 7.4 to 8.0:
But after the last step I get the following error message:
Does anyone have an idea for the reason. The file memcached.so doesn't exist on my server, but how can I initialize it?
OS: Ubuntu 20.04.3 LTS
Plesk: Obsidian 18.0.40
Code:
apt install memcached autoconf automake gcc libmemcached-dev libhashkit-dev pkg-config plesk-php*-dev zlib1g-dev
/opt/plesk/php/8.0/bin/pecl install memcached
echo "extension=memcached.so" > /opt/plesk/php/8.0/etc/php.d/memcached.ini
plesk bin php_handler --reread
service plesk-php80-fpm restart
service apache2 restart
/opt/plesk/php/8.0/bin/php -m | grep memcached
But after the last step I get the following error message:
Code:
PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /opt/plesk/php/8.0/lib/php/modules/memcached.so (/opt/plesk/php/8.0/lib/php/modules/memcached.so: cannot open shared object file: No such file or directory), /opt/plesk/php/8.0/lib/php/modules/memcached.so.so (/opt/plesk/php/8.0/lib/php/modules/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Does anyone have an idea for the reason. The file memcached.so doesn't exist on my server, but how can I initialize it?
OS: Ubuntu 20.04.3 LTS
Plesk: Obsidian 18.0.40