1 (edited by ScallioXTX 2014-11-03 10:26:14)

Topic: php56-php-pecl-oauth-1.2.3-7.el7.remi.x86_64 doesn't install correctly

I just installed php56-php-pecl-oauth-1.2.3-7.el7.remi.x86_64 via yum (yum install php56-php-pecl-oauth-1.2.3-7.el7.remi.x86_64), which installs correctly, but it doesn't put the .so files in the correct place, and also doesn't create the necessary ini file.

So I manually copied /opt/remi/php56/root/usr/lib64/php/modules/oauth.so to /usr/lib64/php/modules/ and /usr/lib64/php-zts/modules/ (not sure if both are needed, didn't check)

Then I also created an /etc/php.d/50-oauth.ini with contents

extension=oauth.so

Now OAuth is working fine in PHP. So the package works, but isn't installed correctly.

I installed this in CentOS 7 x64, uname -a = `Linux <snipped domain> 3.10.0-123.9.2.el7.x86_64 #1 SMP Tue Oct 28 18:05:26 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux`

Re: php56-php-pecl-oauth-1.2.3-7.el7.remi.x86_64 doesn't install correctly

See http://blog.famillecollet.com/pages/English-FAQ#scl

So you need php-pecl-oauth (from remi-php56 repository) and not php56-php-pecl-oauth

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php56-php-pecl-oauth-1.2.3-7.el7.remi.x86_64 doesn't install correctly

My bad! I'll install the correct one. Please feel free to close this topic.