简体   繁体   中英

Installing PHP PECL module on OpenShift

I'm trying to install the PECL oauth module on OpenShift by declaring the following in the file .openshift/pear.txt

pecl/oauth

I believe that this is the preferred way to declare project dependencies for PHP projects on OpenShift but I get the following build error;

failed to write /opt/rh/php54/root/usr/lib64/php/modules/oauth.so
(copy(/opt/rh/php54/root/usr/lib64/php/modules/oauth.so): 
failed to open stream: Permission denied)

Is it possible to include this module or must I create a custom cartridge?

Thanks

Is it possible that module is already installed? Have you tried creating a phpinfo(); page to see what modules are already installed and available?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM