-
Notifications
You must be signed in to change notification settings - Fork 27
libvips info in phpinfo() #32
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
Comments
Here's the equivalent code in php-vips-ext: https://github.com/jcupitt/php-vips-ext/blob/master/vips.c#L1728 It could certainly be expanded, I agree. Let's tag this as an enhancement. |
I had a quick hack in this branch: https://github.com/jcupitt/php-vips-ext/tree/better-php-info
libvips doesn't track the versions of libraries it uses, so yes/no is all we can say at the moment. Is that enough? |
I think this will be enough for now. We can expand the info in the future (like environment variables such as Outside the scope of this enhancement, but a nice feature to have, is to change libvips/php-vips settings in the |
OK, merged to master. Thanks! Yes, make another enhancement for settings in |
To check which version of libvips we're running and which loaders are currently enabled, it would be nice to have some more info about the current vips setup in
phpinfo()
.For example this is what the GD extension on our server displays:

(Extension source can be found here)
For the vips extension we could do something like this:

(Approximately the same as what you see if you build libvips. I think some info is unnecessary)
The text was updated successfully, but these errors were encountered: