• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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