• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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