• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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