• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • 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.

PEAR problem

O

Osmolovsky

Guest
Hello all

Some problem here.

I trying to move my clent's site to my Plesk. When i try to view site - on first page i see this:
-----------------------------------------------------------------
Warning: main(PEAR.php): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/testdomen.com/subdomains/testsub/httpdocs/classes/ITMod.php on line 10

Fatal error: main(): Failed opening required 'PEAR.php' (include_path='.:/usr/local/psa/apache/share/pear') in /usr/local/psa/home/vhosts/testdomen.com/subdomains/testsub/httpdocs/classes/ITMod.php on line 10
-----------------------------------------------------------------

In module ITMod.php Line 10 - require_once 'PEAR.php'; string
no PEAR.php in /usr/share/pear
no PEAR.php in /usr/local/psa/apache/share/pear

in /usr/local/psa/apache/share only "apache2" and "doc" dirs. no "pear" dir, no "pear.php" file
How to make this code to work?

Plesk - 7.5.3
System - FreeBSD 5.3

Thanks.
 
Pear is located in '/usr/share/pear/'. You must add this directory to include_path.
 
Please read my message again ^)

I have't /usr/share/pear directory.

-----------------------------
# ls /usr/share

calendar
groff_font
me
pcvt
syscons
dict
info
misc
security
tabset
doc
isdn
mk
sendmail
tmac
examples
locale
nls
skel
vi
games
man
openssl
snmp
zoneinfo
---------------------------
 
You seem to have FreeBSD. You can install Pear from ports or you can use the one used by horde in /usr/local/psa/psa-horde/pear/, but I do not recommend this.
 
Back
Top