Build graphics/pecl-imagick PHP 8 compatible extension

FreeBSD Feb 13, 2021

The version in the ports tree is not working - it shows some errors when installed. But the source on the master brach of the Imagick repo seems to work.

Here's how you can use it.

  1. Clone the repo somewhere on disk
  2. Execute following commands:

make install

cat > /usr/local/etc/php/ext-20-imagick.ini

php -i | grep imagick
imagick module => enabled
imagick module version => @PACKAGE_VERSION@
imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
imagick.locale_fix => 0 => 0
imagick.progress_monitor => 0 => 0
imagick.set_single_thread => 0 => 0
imagick.shutdown_sleep_count => 10 => 10
imagick.skip_version_check => 0 => 0


Jordan Ostreff

2G/3G/4G/NSA-5G/SA-5G Mobile Packet Core, Telco Clouds, Ericsson CEE, OpenStack, NFV, Orchestration, SDN, Containerisation, Networking IPv4/IPv6, Industrial Computer Networks, Mathematics, Engineering

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
Share with Me via Nextcloud