• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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