• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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