• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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