If you call the following
$m = new Memcache() $m->addServer('127.0.0.1') $m->delete('key')
You'll get
PHP Note: MemcachePool :: delete (): The local server (tcp 11211, udp 0) could not be executed with: the wrong CLIENT_ERROR command line. Usage: remove [noreply]
As @fratrik said, passing 0 as the second argument will make the job work.
But this is a workaround, the real problem is the incompatibility between the versions of the php-memcache extension and the memcache server.
Explained here
Do not worry. Despite what the manual says , explicitly skipping the timeout 0will fix the problem.
0
Source: https://habr.com/ru/post/1786617/More articles:How to take a full snapshot of a web page? (scrollable size large) - phpGPS test in Android - androidOpenGL GL_BGR not working for internal texture format - colorsWPF Organizes Elements in a Grid with Virtualization - virtualizationStorage of a large number of sensor data records - sql-serverHow can I suppress console output when importing packages into RPy2 in Python? - pythonC ++ C # project dependency management - c ++asp.net subdomain setup on localhost - asp.netWhat version of IMalloc should I use in Delphi? - typesWhat happened to the AIM SDK? - c #All Articles