• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved Curl Request engine for PHP OAuth Extension

jlee2027

New Pleskian
Centos 7. Install commands:

/opt/plesk/php/5.6/bin/pecl install oauth-1.2.3
extension=oauth.so (added to php.ini)

Quite easy to install, but uses phpstreams as the Request Engine. How can I change this to the Curl request engine? On Centos 6.7 there was a fix for this, using apt-get, but I can't find it for Centos 7.


upload_2017-5-12_19-41-48.png
 
opt/plesk/php/5.6/bin/pecl install oauth-1.2.3
extension=oauth.so (added to php.ini)

Quite easy to install, but uses phpstreams as the Request Engine. How can I change this to the Curl request engine? On Centos 6.7 there was a fix for this, using apt-get, but I can't find it for Centos 7.

upload_2017-5-12_19-41-48-png.12771
 
When you run

/opt/plesk/php/5.6/bin/pecl install oauth-1.2.3

make sure that you have no in output line like:

checking for cURL in default path... cURL not found

Install all curl libraries with

# yum install curl-devel

and check in pecl output line like:

checking for cURL in default path... found in /usr

Oauth module should be compiled with curl request engine in this case.
 
Back
Top