php-vips icon indicating copy to clipboard operation
php-vips copied to clipboard

Intallation/usage under Windows?

Open massimosala opened this issue 3 years ago • 3 comments

Hi Sorry to bother you, but I cannot understand how to install on Windows.

I already get vips

Where could I get the php_libvips.dll ? If the dll is now obsolete, how can I get the plain php bindings?

Notes:

  • I tried to use PECL and PEAR, but for each package they abort on "cannot compile".
  • I am using php 7.4

massimosala avatar Jul 15 '22 10:07 massimosala

You need php-vips 2.0.3 (latest stable). It does not require a dll for the binding.

jcupitt avatar Jul 15 '22 18:07 jcupitt

Hi John I installed the vips library

Now, on windows, how can I install php-vips 2.0.3 ?

Here I see only a bash installer install-vips.sh

I have read it and it doesn't seem possible to me to convert it to Windows tasks.

massimosala avatar Jul 20 '22 15:07 massimosala

Just install php-vips 2.0.3 with composer in the usual way, it should all work.

You might need to adjust your PATH so that it can see libvips-42.dll, and of course you'll need a PHP with ffi enabled.

jcupitt avatar Jul 20 '22 17:07 jcupitt