• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Question memcache how to install Ubuntu 16.04.1 LTS‬ for Plesk Onyx 17.0.17

# yum install gcc plesk-php56-devel make zlib-devel
# /opt/plesk/php/5.6/bin/pecl install memcache
# echo "extension=memcache.so" > /opt/plesk/php/5.6/etc/php.d/memcache.ini
# plesk bin php_handler --reread

Check that module is loaded:

# /opt/plesk/php/5.6/bin/php -i | grep "memcache support"
memcache support => enabled
 
# yum install gcc plesk-php56-devel make zlib-devel
# /opt/plesk/php/5.6/bin/pecl install memcache
# echo "extension=memcache.so" > /opt/plesk/php/5.6/etc/php.d/memcache.ini
# plesk bin php_handler --reread

Check that module is loaded:

# /opt/plesk/php/5.6/bin/php -i | grep "memcache support"
memcache support => enabled

[email protected] ~ # apt-get install gcc plesk-php56-devel make zlib-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package plesk-php56-devel
E: Unable to locate package zlib-devel
[email protected] ~ # /opt/plesk/php/5.6/bin/pecl install memcache
/opt/plesk/php/5.6/bin/phpize not found. Run 'apt-get install plesk-php56-dev' to install it

Such an error. What to do?
 
E: Unable to locate package plesk-php56-devel
E: Unable to locate package zlib-devel
Name of the same packages may be different for CentOS and Ubuntu/Debian. As far as I remember correct name for Ububtu/Debian - plesk-php56-dev and zlib-dev
Check it.
 
Name of the same packages may be different for CentOS and Ubuntu/Debian. As far as I remember correct name for Ububtu/Debian - plesk-php56-dev and zlib-dev
Check it.
apt-get install plesk-php56-dev
and
apt-get install zlib1g-dev
 
Back
Top