• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Activating memcached.so on PHP 7.1 help please :)

the API of my php 7.1.18 is


PHP API 20160303

/opt/plesk/php/7.1/lib64/php/modules
/opt/plesk/php/7.1/lib64/php/modules


so I guess I could try recompile memcached 3.0.4 extension but how do I make sure that its compiled
with same api?
 
Now it works! and its a plesk bug I suspect :)
look it was not reading the memcached.ini no matter what,
I had to go to my plesk onyx control panel, go to
tools and settings -> php settings -> 7.0, and then go to the php.ini main file, delete one comment, save it
and then it updated the global php settings for real and now it reads the memcached.ini file!
isnt that weird, it didnt update after restarting apache, I had to do that in the panel, isnt that a kind of a bug?
 
I've just checked and all works fine for me with:

# yum install plesk-php71-devel make gcc libmemcached-devel
# /opt/plesk/php/7.1/bin/pecl install memcached
# echo "extension=memcached.so" > /opt/plesk/php/7.1/etc/php.d/memcached.ini
# plesk bin php_handler --reread

As result:

[root@ppu17-8 ~]# /opt/plesk/php/7.1/bin/php -m | grep memca
memcached
 
Back
Top