• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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