Description of problem: Create a php-5.3 app and add "pecl/mongo" to its deplist.txt. Git push. The installation of mongo module always fail because it tries to copy mongo.so to /usr/lib64/php/modules/. Some other modules like "pear/Auth" also have the same problem. Maybe we should change the php configuration to make pecl install the module to some other place. Version-Release number of selected component (if applicable): devenv_1907 How reproducible: Always Steps to Reproduce: 1.Create a php-5.3 app 2.Add one line to <git_repo>/deplist.txt ==> <git_repo>/deplist.txt <== pecl/mongo 3.Git push all the changes Actual results: <---------------output-------------------> remote: Build process completed successfully remote: Installing '/usr/lib64/php/modules/mongo.so' remote: ERROR: failed to write /usr/lib64/php/modules/mongo.so (copy(/usr/lib64/php/modules/mongo.so): failed to open stream: Permission denied) remote: Running .openshift/action_hooks/build remote: Running .openshift/action_hooks/deploy remote: Starting application... remote: Done <----------------------------------------> Expected results: mongo module should be installed successfully. Additional info:
Created attachment 599922 [details] error log of git push There're some other extensions/modules which can't be installed successfully. Please decide whether they're bugs or not.
There seems to be an upstream bug in the Pear install function which prevents us from properly configuring the output location of compiled Pecl modules. Compilation will succeed, but the resulting module will always be copied to /usr and will fail while doing so. There needs to be a decision made to either wait for an upstream fix, or to try and work around it ourselves.
US2119 Custom PHP extensions See https://rally1.rallydev.com/#/4670516379d/detail/userstory/5850814544