Skip to content

WP-CLI: PHP Warning about missing libraries

The following is printed to stderr every time wp is called in the FastCGI image. This appears in recent builds and affects both PHP 7.4 and 8.0:

PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (Error loading shared library libgomp.so.1: No such file or directory (needed by /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so)), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (Error loading shared libra ry /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so: No such file or directory)) in Unknown on line 0

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information