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

Flags does not work correctly. #232

Open
ttodua opened this issue Jul 20, 2021 · 3 comments
Open

Flags does not work correctly. #232

ttodua opened this issue Jul 20, 2021 · 3 comments

Comments

@ttodua
Copy link

ttodua commented Jul 20, 2021

[Ubuntu 20.04]

I tried to install 'redis' extension, and during installation pickle asks yes/no question to enable flags for that extension. One of such question is:

whether to enable igbinary serializer support (default: no): and inputing there yes still didn't set that flag for that extension, as after successful install, doing

var_dump(\Redis::SERIALIZER_IGBINARY);

gives error about "undefined constant".
(related this and this, where if installed without pickle the flags can be enabled correctly.)

@mlocati
Copy link
Collaborator

mlocati commented Jul 20, 2021

Did you install and enable the igbinary php extension before installing the redis php extension?

@ttodua
Copy link
Author

ttodua commented Jul 20, 2021

Ah, it was my first interaction with pickle, and I thought it installed the dependencies automatically in the backgrounds (as composer does). sorry.

@ttodua ttodua closed this as completed Jul 20, 2021
@ttodua
Copy link
Author

ttodua commented Jul 20, 2021

hm. installed igbinary, also shows up in php -m loaded modules, and then tried to re-install redis, with yes parameter, but still no luck, same error shows up. So, I dont know where is the bug, in pickle chain or in redis package.

@ttodua ttodua reopened this Jul 20, 2021
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