Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ptoblem with multiget #6

Closed
Ufoton opened this issue Jun 14, 2024 · 4 comments
Closed

ptoblem with multiget #6

Ufoton opened this issue Jun 14, 2024 · 4 comments

Comments

@Ufoton
Copy link

Ufoton commented Jun 14, 2024

Hello,
Problem with multiget from PHP. https://www.php.net/manual/en/memcached.getmulti.php
Even with mcp.CMD_ANY show error. this binary protocol is not supported?

@Ufoton
Copy link
Author

Ufoton commented Jun 14, 2024

simple scenario

setOption(Memcached::OPT_BINARY_PROTOCOL, true); $m->addServer('memcached', 11211); $items = array( 'key1' => 'value1', 'key2' => 'value2', 'key3' => 'value3' ); $m->setMulti($items); $result = $m->getMulti(array('key1', 'key3', 'badkey')); var_dump($result); ?>

work without
$m->setOption(Memcached::OPT_BINARY_PROTOCOL, true);

@dormando
Copy link
Member

Sorry, binary protocol isn't supported by the proxy. :(

The binary protocol was deprecated in general in 1.6.0: https://github.com/memcached/memcached/wiki/ReleaseNotes160

The old text and new meta protocols are supported.

@dormando
Copy link
Member

@Ufoton Were you able to get this working, or was binary protocol critical for you?

I'd like to close out the issue, thanks!

@Ufoton
Copy link
Author

Ufoton commented Jun 28, 2024

Hi @dormando

Sorry I forgot to close the case. We are manage to switch to text protocol or redis. Symphony by default use binary only few components affected.
Thanks

@dormando dormando closed this as completed Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants