• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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