I follow the qmail/vpopmail Howto http://www.gentoo.org/doc/en/qmail-howto.xml and after emerging horde-imp, change their config files and starting the apache server, it gives me the error: Warning: main(PEAR.php): failed to open stream: No such file or directory in /var/www/localhost/htdocs/horde/lib/Registry.php on line 13 Fatal error: main(): Failed opening required 'PEAR.php' (include_path='.:') in /var/www/localhost/htdocs/horde/lib/Registry.php on line 13 Reproducible: Always Steps to Reproduce: 1. Follow the qmail/vpopmail howto just after setting horde-imp configs 2. Start (or restart) apache webserver Actual Results: Horde-imp refuse to start giving the message: Warning: main(PEAR.php): failed to open stream: No such file or directory in /var/www/localhost/htdocs/horde/lib/Registry.php on line 13 Fatal error: main(): Failed opening required 'PEAR.php' (include_path='.:') in /var/www/localhost/htdocs/horde/lib/Registry.php on line 13 Expected Results: horde-imp login screen should be visible. I already test php using the sample index.php found http://www.linuxguruz.com/z.php?id=31 and its working. I think the problem is that horde-imp cannot find the php files under /usr/lib/php because after replacing: require_once 'PEAR.php'; with require_once '/usr/lib/php/PEAR.php'; on /var/www/localhost/htdocs/horde/lib/Registry.php (line #13) the imp logging screen began to work. My emerge info is: Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo-r2) ================================================================= System uname: 2.4.25-gentoo-r2 i686 Pentium II (Klamath) Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -march=pentium2 -fomit-frame-pointer -fstack-protector" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=pentium2 -fomit-frame-pointer -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://128.213.5.34/gentoo/ http://ftp.du.se/pub/os/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X509 acpi apache2 apm arts autofs avi berkdb chroot crypt cups encode fbcon foomaticdb gdbm gif gpm idea imap imlib ipv6 java jpeg ldap libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png prelude python quicktime readline sdl slang spell ssl svga tcpd threads tiff truetype usb virus-scan x86 xml xml2 xmms xv zlib" In addition, I have a non Xwin server with kernel compiled with custom grsecurity settings with all options selected.
Made a more intense research and found that the problem is apparently a PHP config/install issue. The /etc/php/apache2-php4/php.ini file has this line: ;include_path = ".:/php/includes" and it should be include_path = "/usr/lib/php" Also the /etc/php/cli-php4/php.ini have the same include_path entry as the file above, so probably it should be modified also..
Okay, this needs to be fixed by our PHP team. Re-assigning.
yes, i've gotten a ton of e-mails about this because of the qmail/horde HOWTO i wrote ... perhaps related to Bug 50908 ?
i've fixed the include_path issue now. please test.