Warning: Use of undefined constant OAUTH_REQENGINE_CURL

Ubuntu PHP OAuth

On an Ubuntu server (Ubuntu 20.04.2 LTS) when running a PHP script, I get the following error.

On checking phpinfo, I get

curl is missing in “Request engine support”. This is because the default php-oauth package does not support curl. To fix, uninstall php-oauth and install oauth package using pecl. Uninstall pcel

[…]

Read More…