Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-08-2012, 09:18 PM   PM User | #1
mozgras
New to the CF scene

 
Join Date: Sep 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
mozgras is an unknown quantity at this point
Installing oauth on debian server errors

Does anyone know from the errors why I can't install oauth on a debian vps server hosted at dreamhost? Any remedies?

Code:
$ pear install HTTP_OAuth
 Failed to download pear/HTTP_OAuth within preferred state "stable", latest
 release is version 0.2.3, stability "alpha", use
 "channel://pear.php.net/HTTP_OAuth-0.2.3" to install
 install failed
 [ps113620]$ pear install HTTP_OAuth-0.2.3
 WARNING: channel "pear.php.net" has updated its protocols, use "pear
 channel-update pear.php.net" to update
 Cannot install, php_dir for channel "pear.php.net" is not writeable by the
 current user
 
 $ pear channel-update pear.php.net
 Updating channel "pear.php.net"
 could not create lock file: fopen(/usr/local/php5/lib/pear/.lock): failed to
 open stream: Permission denied
mozgras is offline   Reply With Quote
Old 10-01-2012, 02:06 AM   PM User | #2
stevenmw
Regular Coder

 
stevenmw's Avatar
 
Join Date: Jun 2007
Location: OK
Posts: 445
Thanks: 26
Thanked 30 Times in 30 Posts
stevenmw is an unknown quantity at this point
First off it sounds like you don't have root access. Log into root through your terminal.

Then update your respiratory

/etc/apt/sources.list

Debian is very big on stability. It doesn't come with the latest version of things, it comes with the latest stable release.So the package that Debian is using for whichever version of Deb you have might not be "brand-new", but it will be new.

Now try installing the package again. I forget the exact name Debian uses for OAuth, but I know it is

apt-get install package
stevenmw is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:05 AM.


Advertisement
Log in to turn off these ads.