Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7776771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:57:48+00:00 2026-06-01T17:57:48+00:00

I searched the site for hours looking for answer and nothing helped me. I’ve

  • 0

I searched the site for hours looking for answer and nothing helped me. I’ve installed PHP/Apache2/PECL/OAuth and edited php.ini for extension=oauth. I get this error everything I type “php example.php” I’d set the token and everything required in example.php

PHP Fatal error: Class ‘OAuth’ not found in /home/twitter/TwitterAutoReply.php on line 22

My php files is example.php and TwitterAutoReply.php

https://raw.github.com/gist/820281/303a61ee9b324070e803e51806552e64fccfdd4c/example.php 
and https://gist.github.com/raw/820281/6bf1b6d78dd05daef319ce84a88eedf139a44b5a/TwitterAutoReply.php

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:57:50+00:00Added an answer on June 1, 2026 at 5:57 pm

    From the error, you’re not importing the oauth package in you php.ini file.
    For ubuntu, you need to install oauth:

    sudo pecl install oauth
    

    Then include the oauth package in your php.ini. If you don’t know where the file is, you can use:

    sudo find / -name "oauth.so"
    

    Using the path to the extension add the following to your php.ini:

    extension=/path/to/oauth/package/oauth.so
    

    Restart apache and try again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I searched the site but did not find the answer I was looking for
I've searched this site and the web and just looking for a simple example
I've searched within the site, but couldn't find my answer.. I'd like to start
I have searched the site for this simple problem but cant find an answer.
i've searched the site for this answer but couldnt find a good answer. My
I have searched this site, and numerous others, looking for a solution to this
I have searched this site for an answer and found many responses to unsigned/signed
i have searched this site back and forth withoutfinding a clear answer for what
I have googled and searched this site, but nothing specific appears and cannot get
I have searched the site and I haven't found an answer to my problem.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.