• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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