• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

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