I’m working on getting a bot to authenticate using OAuth. I’ve got this working on my local machine, but not yet on toolforge.
I’m running php5.6 in the k8s environment.
When I run the script I receive “PHP Fatal error: Class ‘OAuth’ not found”.
pecl install OAuth
returns Cannot install, php_dir for channel "pecl.php.net" is not writeable by the current user
How I can install the OAuth PHP class?