Jump to content

[Solved] Install oAuth


flexx

Recommended Posts

Is it possible to install oAuth on my site? I tried it through PEAR in cpanel but its not working.

 

I got this error

 

Failed to download pear/HTTP_Request2 within preferred state "stable", latest release is version 2.0.0beta3, stability "beta", use "channel://pear.php.net/HTTP_Request2-2.0.0beta3" to install

 

Warning: popen() has been disabled for security reasons in Guess.php on line 242

PHP Warning: popen() has been disabled for security reasons in /usr/lib/php/OS/Guess.php on line 242

 

Warning: popen() has been disabled for security reasons in /usr/lib/php/OS/Guess.php on line 242

 

Warning: fgets() expects parameter 1 to be resource, null given in Guess.php on line 243

PHP Warning: fgets() expects parameter 1 to be resource, null given in /usr/lib/php/OS/Guess.php on line 243

 

Warning: fgets() expects parameter 1 to be resource, null given in /usr/lib/php/OS/Guess.php on line 243

 

Warning: pclose() expects parameter 1 to be resource, null given in Guess.php on line 252

PHP Warning: pclose() expects parameter 1 to be resource, null given in /usr/lib/php/OS/Guess.php on line 252

 

Warning: pclose() expects parameter 1 to be resource, null given in /usr/lib/php/OS/Guess.php on line 252

pear/HTTP_OAuth requires package "pear/HTTP_Request2" (version >= 0.5.1)

pear/HTTP_OAuth can optionally use PHP extension "pecl_http" (version >= 1.6.0)

No valid packages found

install failed

0

Link to comment
Share on other sites

Guest Geoff

Warning: popen() has been disabled for security reasons in Guess.php on line 242
PHP Warning: popen() has been disabled for security reasons in /usr/lib/php/OS/Guess.php on line 242

 

The problem is that cPanel's PHP has popen as a disabled function. However, this should not happen because cPanel's PHP is different from apache's PHP.

Link to comment
Share on other sites

Warning: popen() has been disabled for security reasons in Guess.php on line 242
PHP Warning: popen() has been disabled for security reasons in /usr/lib/php/OS/Guess.php on line 242

 

The problem is that cPanel's PHP has popen as a disabled function. However, this should not happen because cPanel's PHP is different from apache's PHP.

 

Could it be that it was some kinda error upon installation? I really would love for it to work. Please let me know of further updates if it is possible to include it in your schedule. Bless!

Link to comment
Share on other sites

Geoff: Sure, but the bigger issue is that I'm unable to install oauth as root.

 

flexx: I really can't do much from here, as I am unable to install the package. I would recommend contacting the support for oauth, notifying them of the issue, and seeing if they have a solution.

Link to comment
Share on other sites

Guest Geoff

Installing oauth with no disabled functions, I get:

Failed to download pear/HTTP_Request2 within preferred state "stable", latest release is version 2.0.0RC1, stability "beta", use "channel://pear.php.net/HTTP_Request2-2.0.0RC1" to install
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
pear/HTTP_OAuth requires package "pear/HTTP_Request2" (version >= 0.5.1)
pear/HTTP_OAuth can optionally use PHP extension "pecl_http" (version >= 1.6.0)
downloading PEAR-1.9.2.tgz ...
Starting to download PEAR-1.9.2.tgz (295,120 bytes)
.....................................done: 261,787 bytes
downloading Log-1.12.5.tgz ...
Starting to download Log-1.12.5.tgz (46,311 bytes)
...done: 46,311 bytes
downloading Cache_Lite-1.7.9.tgz ...
Starting to download Cache_Lite-1.7.9.tgz (30,318 bytes)
...done: 30,318 bytes
downloading Archive_Tar-1.3.7.tgz ...
Starting to download Archive_Tar-1.3.7.tgz (17,610 bytes)
...done: 17,610 bytes
downloading Structures_Graph-1.0.4.tgz ...
Starting to download Structures_Graph-1.0.4.tgz (30,318 bytes)
...done: 30,318 bytes
downloading Console_Getopt-1.3.1.tgz ...
Starting to download Console_Getopt-1.3.1.tgz (4,471 bytes)
...done: 4,471 bytes
downloading XML_Util-1.2.1.tgz ...
Starting to download XML_Util-1.2.1.tgz (17,729 bytes)
...done: 17,729 bytes
downloading DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (132,246 bytes)
...done: 132,246 bytes
downloading MDB2-2.4.1.tgz ...
Starting to download MDB2-2.4.1.tgz (119,790 bytes)
...done: 119,790 bytes
downloading Mail-1.2.0.tgz ...
Starting to download Mail-1.2.0.tgz (23,214 bytes)
...done: 23,214 bytes
downloading Net_SMTP-1.5.2.tgz ...
Starting to download Net_SMTP-1.5.2.tgz (12,626 bytes)
...done: 12,626 bytes
downloading Net_Socket-1.0.10.tgz ...
Starting to download Net_Socket-1.0.10.tgz (5,429 bytes)
...done: 5,429 bytes
downloading Auth_SASL-1.0.4.tgz ...
Starting to download Auth_SASL-1.0.4.tgz (5,795 bytes)
...done: 5,795 bytes
install ok: channel://pear.php.net/Log-1.12.5
install ok: channel://pear.php.net/Archive_Tar-1.3.7
install ok: channel://pear.php.net/Structures_Graph-1.0.4
install ok: channel://pear.php.net/Console_Getopt-1.3.1
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/Mail-1.2.0
install ok: channel://pear.php.net/Net_Socket-1.0.10
install ok: channel://pear.php.net/Auth_SASL-1.0.4
ERROR: unable to unpack /home/gfishing/tmp/pear/cache/PEAR-1.9.2.tgz
install ok: channel://pear.php.net/Net_SMTP-1.5.2
install ok: channel://pear.php.net/Cache_Lite-1.7.9
install ok: channel://pear.php.net/DB-1.7.13
install ok: channel://pear.php.net/MDB2-2.4.1
MDB2: Optional feature fbsql available (Frontbase SQL driver for MDB2)
MDB2: Optional feature ibase available (Interbase/Firebird driver for MDB2)
MDB2: Optional feature mysql available (MySQL driver for MDB2)
MDB2: Optional feature mysqli available (MySQLi driver for MDB2)
MDB2: Optional feature mssql available (MS SQL Server driver for MDB2)
MDB2: Optional feature oci8 available (Oracle driver for MDB2)
MDB2: Optional feature pgsql available (PostgreSQL driver for MDB2)
MDB2: Optional feature querysim available (Querysim driver for MDB2)
MDB2: Optional feature sqlite available (SQLite2 driver for MDB2)
MDB2: To install optional features use "pear install pear/MDB2#featurename"
0

 

@djbob I would try turning off the disabled functions, then installing the package for all users.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...