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 3431948
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:23:20+00:00 2026-05-18T07:23:20+00:00

I have a VPS running a VPS optimized Debian distro. I am very new

  • 0

I have a VPS running a VPS optimized Debian distro.
I am very new to utilizing a VPS and have next to zero Linux background.

A little background to help:
I went through and apt-get install pear which went through fine.
I attempted to install the dependent services for the Digg api as such:

pear install HTTP_Request2 

This provided an error, I had to install it with:

pear install HTTP_Request2-alpha

Then I attempted:

pear install HTTP_OAuth

This provided the same error as above, I installed it eventually with:

pear install HTTP_OAuth-alpha

So I then successfully installed Digg2 with pear install Services_Digg2

Okay, background over. My issue is that it will not initiate the class as it says the file is not there. The PHP is as simple as this:

require_once 'Services/Digg2.php';
$api = new Services_Digg2;

I checked my include path as per the error in PHP:

Fatal error: require_once() [function.require]:
Failed opening required ‘Services/Digg2.php’ (include_path=’/usr/share/php’)
in /var/www/redacted1/data/www/redacted2/index.php on line 3

So I verified that the file was there in Terminal:

http://snapplr.com/tk9r

And I verified that the include path was proper via PHP_Info():

http://snapplr.com/dwk7 (sorry I can only post one hyperlink as I’m new)

The error remains.
Hopefully my lengthy intro isn’t a hassle and actually helps.

Any incite?

Thanks
Jeff

  • 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-05-18T07:23:21+00:00Added an answer on May 18, 2026 at 7:23 am

    To install a PEAR/PECL package that is in a state other than “stable”, you have to specify the full spec for the package:

    pear install Services_Digg2-alpha #alpha state
    pecl install ssh2-0.11.2          #beta state
    

    PEAR also takes care of dependencies (usually, but I can confirm in that specific case that it does). You don’t have to manually install them.

    Now that you have it installed, it should work like you did:

    include_once 'Services/Digg2.php'
    

    However, I’m a little concerned that your code shows include_once while the error message you have shows you are using require_once. This leads me to believe that the code you posted is not the actual code.

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

Sidebar

Related Questions

I have Apache 2 running on a VPS server (running Debian). I recently changed
I have a new VPS server, and I'm trying to get it to connect
I have a VPS that is running Fedora Core 6, with yum somehow removed
I have just bought a VPS running Ubuntu and I need to install the
I have Ubuntu 8.04 running on a Xen based VPS server that runs on
I'm trying to build a very simple VPS control panel; i have the following
I have a VPS running a fresh install of Ubuntu 10.04 LTS. I'm trying
I have VPS and it already has apache and php sites running. Now i
I have managed to get my app, up & running in my vps an
I have a cron job on an Ubuntu Hardy VPS that only half works

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.