Doc #79456 [Opn->Nab]: Imagick PECL extension Requirements docs incomplete
| From: | girgias@php.net | Date: | Tue, 07 Apr 2020 22:28:57 +0000 |
| Subject: | Doc #79456 [Opn->Nab]: Imagick PECL extension Requirements docs incomplete | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17471@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79456&edit=1
ID: 79456
Updated by: girgias@php.net
Reported by: teo8976 at gmail dot com
Summary: Imagick PECL extension Requirements docs incomplete
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
Operating System: debian
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
You tried to compile the extension and not install it, therefore needing the dev packages is
expected.
A command to install this extension on Ubuntu using the APT package manager would be:
sudo apt-get install php-imagick
which will install the extension.
We cannot provided instruction for how to install extensions as it depends by distribution.
Previous Comments:
------------------------------------------------------------------------
[2020-04-07 16:45:16] teo8976 at gmail dot com
Description:
------------
---
From manual page: https://php.net/imagick.requirements
---
The ONE thing I expect from this page is to tell me what are the requirements in order to install
this pecl extension.
It says "PHP >= 5.1.3 and ImageMagick >= 6.2.4 is required.", hence I should be able
to assume that, if I have those, I have all that is needed.
Not so.
I followed the generic installation instructions at https://www.php.net/manual/en/install.pecl.phpize.php
and I got the error:
error: not found. Please provide a path to MagickWand-config or Wand-config program.
I had to google it to find out the answer on serverfault.com that I needed to install these:
sudo apt-get install libmagickwand-dev libmagickcore-dev
This should have been in the Requirements page.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79456&edit=1