I am trying to upgrade Libmemcached on my amazon linux2 server. Even after installing the latest version, I am still facing error as:
Got error 'PHP message: PHP Warning: Unknown: using touch command with binary protocol is not recommended with libmemcached versions below 1.0.18, please use ascii protocol or upgrade libmemcached in Unknown on line 0\n'
I am not able to trace the actual file path from where the old version is still been read. I have removed all the old memcached and libmemcached and re installed it with the latest versions. Still its not getting upgraded. How can I resolve this issue?
php-memcached
seems to use the version number from the libmemcached headers, so it only knows with which libmemcached version it was compiled and initially linked with, while callingmemcached_lib_version()
at runtime would reveal the currently, dynamically, linked libmemcached version in use.You'd have to rebuild
php-memcached
against the upgraded libmemcached, so it picks up the new version from its headers.