Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: I am unable to install the Imagick PECL extension on the PHP 5.4 cartridge. Steps to Reproduce: 1. edit the deplist.txt file to contain "pecl/imagick" 2. git commit 3. git push Actual results: ... remote: Build process completed successfully remote: Installing '/opt/rh/php54/root/usr/include/php/ext/imagick/php_imagick.h' remote: ERROR: failed to write /opt/rh/php54/root/usr/include/php/ext/imagick/php_imagick.h (copy(/opt/rh/php54/root/usr/include/php/ext/imagick/php_imagick.h): failed to open stream: Permission denied) -> the install failed Expected results: -> a successful install of the Imagick PECL extension Additional info: Originally discussed on the OpenShift support forum at https://www.openshift.com/forums/openshift/imagick-pecl-extension-install-issues
@Constantin, thank you for the bug report. Imagick PECL extension is installed by default on OpenShift, as seen from the following commands: # PHP 5.3 > php -i | grep imagick > /etc/php.d/imagick.ini, > imagick > imagick module => enabled > imagick module version => 2.2.2 > imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator > imagick.locale_fix => 0 => 0 > imagick.progress_monitor => 0 => 0 # PHP 5.4 > $ php -i | grep imagick > /opt/rh/php54/root/etc/php.d/imagick.ini, > imagick > imagick module => enabled > imagick module version => 3.1.2 > imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator > imagick.locale_fix => 0 => 0 > imagick.progress_monitor => 0 => 0 So there is no need to install your custom PECL. You tried to install it using "pecl/imagick" string in deplist.txt file, which is for PEAR dependencies only, not the PECLs. Custom PECLs are not yet supported on OpenShift - see the Feature Request Trello card https://trello.com/c/Ja9IcFIb. We're going to provide a more accurate error message then reported one in comment 0, thank you. *** This bug has been marked as a duplicate of bug 1054642 ***