Created attachment 851445 [details] full build log Description of problem: Below error show when install pecl/imagick for php-5.3/5.4 app remote: Build process completed successfully remote: Installing '/usr/lib64/php/modules/imagick.so' remote: ERROR: failed to write /usr/lib64/php/modules/imagick.so (copy(/usr/lib64/php/modules/imagick.so): failed to open stream: Permission denied) remote: remote: Preparing build for deployment remote: Deployment id is c6d644ba remote: Activating deployment remote: Starting PHP 5.3 cartridge (Apache+mod_php) remote: Result: success remote: Activation status: success remote: Deployment completed with status: success Version-Release number of selected component (if applicable): INT(devenv_4234) How reproducible: Always Steps to Reproduce: 1. Create a php application #rhc app create php1 php-5.4/php-5.3 2. In app's local repo, add dependency to deplist.txt echo pecl/imagick >> deplist.txt 3. Commit changes and git push Actual results: Error show when install pecl/imagick for php-5.3/5.4 app Expected results: remote: Checking pear: pecl/imagick remote: remote: Extension already installed in the system: pecl/imagick Additional info: Full build log attached.
OpenShift doesn't support PECLs officially yet. Users are advised to put PEAR deps into deplist.txt file, not PECLs. See these two Trello Cards: - https://trello.com/c/fSWvzkPM - https://trello.com/c/Ja9IcFIb. Also, feel free to make a Feature Request for having the imagick library installed by default. Closing as UPSTREAM.
*** Bug 1066083 has been marked as a duplicate of this bug. ***
I'm running with devenv_4399 and I see the same issue. Please feel free to close again if my understanding of upstream is wrong. wrt feature request for having the library installed, it was done long ago, see bug 884865. So in my opinion this is a regression. btw we also have a test case for that feature.
@Aleksandar Kostadinov, custom PECLs are not yet supported on OpenShift officially, thus NOTABUG/UPSTREAM. The custom PECL functionality will be implemented once this Trello card https://trello.com/c/Ja9IcFIb get completed. The missing imagick PECL extension was added to both PHP 5.3 and PHP 5.4 cartridges, btw.
Just tested it against INT. I am getting the following error: ERROR: failed to mkdir /usr/include/php/ext/imagick Apart from that everything is fine.
*** Bug 1071146 has been marked as a duplicate of this bug. ***