Skip to content

Improve phpinfo information #488

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

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

remicollet
Copy link
Collaborator

  • display libmemcached-awesome when used (since 1.1.1)
  • display both builtime and runtime versions when different

Ex:

$ php --ri memcached

memcached

memcached support => enabled
Version => 3.1.5
libmemcached-awesome version => 1.1.1
...

$ php --ri memcached

memcached

memcached support => enabled
Version => 3.1.5
libmemcached-awesome headers version => 1.1.0
libmemcached-awesome library version => 1.1.1
...

- display libmemcached-awesome when used (since 1.1.1)
- display both builtime and runtime versions when different
@remicollet
Copy link
Collaborator Author

@m6w6 FYI, related to libmemcached-awesome and awesomized/libmemcached#115

@sodabrew
Copy link
Contributor

sodabrew commented Jul 29, 2021

Quick bikeshed discussion:

I like the idea of separating out a row for headers and a row for the runtime library. That makes sense.

Instead of varying the "key" names, how about something like:

key value
libmemcached headers version 1.0.16
libmemcached library version 1.0.18
libmemcached flavor regular

or slightly different text:

key value
libmemcached version (compiled) 1.1.1
libmemcached version (runtime) 1.1.1
libmemcached flavor awesome

Are the headers mutually compatible or incompatible? If it's possible to drop in a libmemcached-awesome library at runtime, the output would need to distinguish like "1.1.1 awesome" vs. "1.0.18 regular".

(In all likelihood, there won't be a conflicting 1.1.1-regular vs. 1.1.1-awesome, but worth wondering aloud for a moment.)

@remicollet
Copy link
Collaborator Author

Yes, this is another way to give the information, but I don't really like the "regular" word, would prefer something like "the old dead and deprecated one" ;)

@sodabrew sodabrew added this to the 3.2.0 milestone Aug 23, 2021
@Kholodny
Copy link

Kholodny commented Dec 6, 2021

Hi! How did you install the memcached extension using libmemcached-awesome?
i'm stuck on checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir=

to specify the prefix where libmemcached headers and library are located

centos 7

@remicollet remicollet merged commit d8f6f1c into php-memcached-dev:master Mar 7, 2022
@remicollet remicollet deleted the issue-awesome branch March 7, 2022 13:50
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

Successfully merging this pull request may close these issues.

4 participants