Replies: 3 comments 3 replies
-
Hi @goldmerc, Oooof I always forget this annoying issue. Yes, you'll need a recent libvips with php-fpm, sorry. You have a few options:
|
Beta Was this translation helpful? Give feedback.
-
Well, I have no experience building from source but I thought i'd give it a go, following this https://github.com/libvips/libvips#cheatsheet I'm trying the latest libvips 8.14.1. When I run 'meson setup build', I get this error...
Also the only optional dependency that the installer can find is libpng. Which dependencies would you recommend I install to be able to handle jpegs and webp? If you don't have time to point me in the right direction, no worries. I'm sure you have better things to do! :-) I'll keep chipping away at it |
Beta Was this translation helpful? Give feedback.
-
@jcupitt - just to say thanks. I got it working on both my local and live setups. 👍🏻 |
Beta Was this translation helpful? Give feedback.
-
php-vips: 2.1.1
libvips42: 8.9.1-2
Ubuntu 20.04
I'm updating to php-vips v2. I'm using Laravel Homestead which has Ubuntu 20.04 installed. If I use apt-get to install libvips42 I appear to get version 8.9.1-2.
Image processing works sporadically. When it doesn't work, I get 502 errors. Looking in the php-fpm log, I see entries like this...
After researching online, it seems to me that this may be some kind of memory leak issue which is beyond my understanding! But looking here #139 it seems that "libvips 8.13 ought to fix this"
So, first of all, am I correct in my diagnosis? or is the problem something else?
Assuming I am correct above, If I want to install a more up to date version of libvips42 than I am getting from apt-get, is my only option to build from source? I've found the details on the libvips install docs page but it's a bit beyond me! I especially don't understand which dependencies I would need and how to make sure they are installed? I'm only planning to optimise jpeg and webp images for my website. Ideally, it would be great to use mozjpeg. Is there an example anywhere? Thanks
Beta Was this translation helpful? Give feedback.
All reactions