hostingnuggets
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-FFPC] memcache unix socket not working@bml13 thanks for noticing this
I confirm this problem is NOT resolved! @petermolnar please remove the resolved tag and fix this issue asap
Forum: Plugins
In reply to: [WP-FFPC] memcache unix socket not working@petermolnar any news regarding this issue?
Forum: Plugins
In reply to: [WP-FFPC] memcache unix socket not workingOn line 799 of your plugin, do you really pass 0 as 2nd argument to memcached’s addServer() method?
I read in the following PHP memcached documentation (http://php.net/manual/de/memcached.addserver.php) the following:
port
The port on which memcache is running. Usually, this is 11211. As of version 2.0.0b1, set this parameter to 0 when using UNIX domain sockets.Hope that helps.
Forum: Plugins
In reply to: [WP-FFPC] memcache unix socket not workingAnd that would be the phpinfo() part regarding memcached:
memcached
memcached support enabled
Version 2.2.0
libmemcached version 1.0.16
SASL support yes
Session support yes
igbinary support no
json support yes
msgpack support noForum: Plugins
In reply to: [WP-FFPC] memcache unix socket not workingI now tried with /var/www/mywebsite.com/tmp/memcached.sock but I still get exactly the same error message.
Btw: I am using PHP 5.5.17 and the memcached.so extension for PHP
Forum: Plugins
In reply to: [WP-FFPC] memcache unix socket not workingThanks for your feedback! As suggested I have now changed the backend to PHP Memcached but now I see the following error message in my PHP error log:
2014/09/19 17:38:28 [error] 27647#0: *327 FastCGI sent in stderr: “PHP message: PHP Warning: Memcached::addServer() expects parameter 2 to be long, string given in /var/www/mywebsite.com/htdocs/wp-content/plugins/wp-ffpc/wp-ffpc-backend.php on line 799” while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: mywebsite.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/lib/nginx/fastcgi/mywebsite.com.sock:”, host: “mywebsite.com”, referrer: “http://mywebsite.com/wp-admin/options-general.php?page=wp-ffpc-settings&saved=true”
In the “Hosts” parameter under the “Memcache(d)” I have the following parameter:
unix:///var/www/mywebsite.com/tmp/memcached.sockI am using version 1.6.4 of your plugin with WP 3.9.2
Any ideas what is wrong this time?