• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question PEAR

Madness

Basic Pleskian
Hi guys,

I using xenforo and i wanted to add an arcade, but im having a problem uploading the games.

"include_once(Archive/Tar.php) [function.include-once]: failed to open stream: No such file or directory"

From reading i need to install pear https://pear.php.net/manual/en/installation.getting.php

$ wget http://pear.php.net/go-pear.phar
$ php go-pear.phar


The problem is after install its using 5.3.3 by OS vendor rather than 5.6.26 that i have installed.

# pear version
PEAR Version: 1.10.1
PHP Version: 5.3.3
Zend Engine Version: 2.3.0
Running on: Linux 2.6.32-642.6.1.el6.x86_64 #1 SMP Wed Oct 5 00:36 :12 UTC 2016 x86_64

How do i get it to work with 5.6.26?
 
Hi Madness,

if you mean by

rather than 5.6.26 that i have installed.

... that you are using one of the Plesk - PHP - versions, pls. be aware, that EACH version has it's very own paths:

For PECL, you would use the paths:
Code:
/opt/plesk/php/5.2/bin/pecl
/opt/plesk/php/5.3/bin/pecl
/opt/plesk/php/5.4/bin/pecl
/opt/plesk/php/5.5/bin/pecl
/opt/plesk/php/5.6/bin/pecl
/opt/plesk/php/7.0/bin/pecl

For PEAR you would use the paths:
Code:
/opt/plesk/php/5.2/bin/pear
/opt/plesk/php/5.3/bin/pear
/opt/plesk/php/5.4/bin/pear
/opt/plesk/php/5.5/bin/pear
/opt/plesk/php/5.6/bin/pear
/opt/plesk/php/7.0/bin/pear
 
Hi Madness,

if you mean by



... that you are using one of the Plesk - PHP - versions, pls. be aware, that EACH version has it's very own paths:

For PECL, you would use the paths:
Code:
/opt/plesk/php/5.2/bin/pecl
/opt/plesk/php/5.3/bin/pecl
/opt/plesk/php/5.4/bin/pecl
/opt/plesk/php/5.5/bin/pecl
/opt/plesk/php/5.6/bin/pecl
/opt/plesk/php/7.0/bin/pecl

For PEAR you would use the paths:
Code:
/opt/plesk/php/5.2/bin/pear
/opt/plesk/php/5.3/bin/pear
/opt/plesk/php/5.4/bin/pear
/opt/plesk/php/5.5/bin/pear
/opt/plesk/php/5.6/bin/pear
/opt/plesk/php/7.0/bin/pear
Thank you for responding, but how do it make it use that path?
 
Hi Madness,

sorry, but you must be kidding, when you really think that someone can guess, where the path to "pear" is defined in the script. We don't know a single code line of your script, so we better look around for a glass sphere. :D:p:D
 
Back
Top