• 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.

Resolved Error installing mencached plesk 12.5 CentOS 6.7

Spoke too soon.

phpinfo doesn't show the module. It shows the path to the module, but it doesn't show below in extension details.

I found that the module was put in "/opt/plesk/php/5.6/lib/php/modules/" without execution permissions, I've changed them and restarted plesk-php56-fpm plus apache2 without luck.

Can someone help?
 
Spoke too soon.

phpinfo doesn't show the module. It shows the path to the module, but it doesn't show below in extension details.

I found that the module was put in "/opt/plesk/php/5.6/lib/php/modules/" without execution permissions, I've changed them and restarted plesk-php56-fpm plus apache2 without luck.

Can someone help?
But have you added module to corresponding ini file with

# echo “extension=memcached.so” > /opt/plesk/php/5.6/etc/php.d/memcached.ini

and reread php handlers:

# plesk bin php_handler --reread

after that?
 
But have you added module to corresponding ini file with

# echo “extension=memcached.so” > /opt/plesk/php/5.6/etc/php.d/memcached.ini

and reread php handlers:

# plesk bin php_handler --reread

after that?

Hi Igor,

yes done that.

In the plesk I see the module activated for all php versions, but doesn't work.

php -m doesn't show the extension, should it show it?
 
You need to check PHP5.6 modules. Something like

# /opt/plesk/php/5.6/bin/php -m

Then go to domain, where PHP5.6 handler is enabled and check memcached output of phpinfo()
 
hummm, seen now that I've this warning, something is defenetly very wrong.

root@server:~# /opt/plesk/php/5.6/bin/php -m | grep memcached
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/5.6/lib/php/modules/memcached.so' - /opt/plesk/php/5.6/lib/php/modules/memcached.so: undefined symbol: memcached_server_micro_version in Unknown on line 0
 
/opt/plesk/php/5.6/lib/php/modules/memcached.so: undefined symbol: memcached_server_micro_version in Unknown on line 0
Looks like module was not correctly compiled or compiled for other php version. Try to re-compile it again.
 
for debian User


1. Installing

# apt-get install memcached php5-memcache

# apt-get install memcached php5-memcached

# /opt/plesk/php/5.6/bin/pecl install memcache

# /opt/plesk/php/5.6/bin/pecl install memcached

# echo "extension=memcache.so" > /opt/plesk/php/5.6/etc/php.d/memcache.ini

# echo "extension=memcached.so" > /opt/plesk/php/5.6/etc/php.d/memcached.ini
# plesk bin php_handler --reread
 
Hi.

Yes, it worked after re-instaling the server again.

But I had to switch it off, I don't know why yet, but with memcached active, I start to have problems in backoffice and stock management.

I' still have to dig on this.

Thank you for your comment.
 
Back
Top