• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved memcached installed but not detected

nornagest

New Pleskian
Hi
I have installed (maybe correctly) memcached, with the following commands:

Code:
apt install memcached libmemcached-dev libmemcached-tools
systemctl enable memcached
apt install software-properties-common
add-apt-repository ppa:ondrej/php
apt install php-memcached php8.0-memcached

but the extensions is not detected from any script.
I have checked the status of the extension with several commands, and it seems installed correctly, but the php scripts do not detect it.

See below my output

Code:
root@server:/# systemctl status memcached
● memcached.service - memcached daemon
     Loaded: loaded (/lib/systemd/system/memcached.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2021-02-04 12:12:34 UTC; 1h 30min ago
       Docs: man:memcached(1)
   Main PID: 102744 (memcached)
      Tasks: 10 (limit: 7032)
     Memory: 1.4M
     CGroup: /system.slice/memcached.service
             └─102744 /usr/bin/memcached -m 256 -p 11211 -u memcache -l 127.0.0.1 -c 2048 -P /var/run/memca>

Feb 04 12:12:34 server.stacksystem.it systemd[1]: Started memcached daemon.

and

Code:
root@server:/# php -i | grep "memcached support"
memcached support => enabled

and

Code:
root@server:/# php -i | grep memcached
/etc/php/8.0/cli/conf.d/25-memcached.ini
memcached
memcached support => enabled
libmemcached version => 1.0.18
memcached.compression_factor => 1.3 => 1.3
memcached.compression_threshold => 2000 => 2000
memcached.compression_type => fastlz => fastlz
memcached.default_binary_protocol => Off => Off
memcached.default_connect_timeout => 0 => 0
memcached.default_consistent_hash => Off => Off
memcached.serializer => php => php
memcached.sess_binary_protocol => On => On
memcached.sess_connect_timeout => 0 => 0
memcached.sess_consistent_hash => On => On
memcached.sess_consistent_hash_type => ketama => ketama
memcached.sess_lock_expire => 0 => 0
memcached.sess_lock_max_wait => not set => not set
memcached.sess_lock_retries => 5 => 5
memcached.sess_lock_wait => not set => not set
memcached.sess_lock_wait_max => 150 => 150
memcached.sess_lock_wait_min => 150 => 150
memcached.sess_locking => On => On
memcached.sess_number_of_replicas => 0 => 0
memcached.sess_persistent => Off => Off
memcached.sess_prefix => memc.sess.key. => memc.sess.key.
memcached.sess_randomize_replica_read => Off => Off
memcached.sess_remove_failed_servers => Off => Off
memcached.sess_sasl_password => no value => no value
memcached.sess_sasl_username => no value => no value
memcached.sess_server_failure_limit => 0 => 0
memcached.store_retry_count => 2 => 2
Registered save handlers => files user memcached

My system is a VPS with Ubuntu 20.04 and Plesk Obsidian.

This my phpinfo: PHP 8.0.1 - phpinfo()

Any idea?

Thanks!
 
Hi IgorG

I followed your method, but phpinfo still doesn't find it, and the script doesn't detect it https://naturbiotica.com/phppsinfo.php
(user & pass: prestashop, if it asks you).

After trying again...
Code:
root@server:/# /opt/plesk/php/8.0/bin/pecl install memcached
pecl/memcached is already installed and is the same as the released version 3.1.5
install failed

Any other suggestions?
 
Hi
I try on 7.4 dont work i need help for this also i tried docker method too still failed
 
Back
Top