Make include_path is set in php.ini to /usr/lib/php. For mod_php, this will be /etc/php/apache2-php4/php.ini There was a problem a while back with one of the portage libs where all the pear files were placed in /usr/lib/php/php which effectively broke everything. If this appears to be the case for you, emerge sync and remerge mod_php. I have also suffered from the ebuild removing /usr/lib/php/PEAR.php If this file is missing, you'll need to grab a copy from pear.php.net.
If there are any devs listening in, you should take note that PEAR is sadly broken beyond what is reasonable for working systems. On the same subject. Why pear isn't handled by the very nice pear package manager provided by php is beyond me. It's silly to have added all the overhead to portage for something that has a very nice and functional pear package manager to a less than desireable situation where packages are out of date, or unavailable. Wendall On Fri, 2005-07-01 at 13:04 +0200, Denny Schierz wrote: > hi, > > i really have problems to get pear running again, after an emerge -Du > world, on my apache2 mod_php 4.3.11 system. > > horde says, that i have no pear installed > > Configuration: > ============== > PEAR executables directory bin_dir /usr/bin > PEAR documentation directory doc_dir /usr/lib/php/ > PHP extension directory > ext_dir /usr/lib/php/extensions/no-debug-non-zts-20020429 > PEAR directory php_dir /usr/lib/php/ > PEAR Installer cache directory cache_dir /tmp/pear/cache > PEAR data directory data_dir /usr/lib/php/ > PHP CLI/CGI binary php_bin /usr/bin/php > PEAR test directory test_dir /usr/lib/php/ > Cache TimeToLive cache_ttl 3600 > Preferred Package State preferred_state stable > Unix file mask umask 22 > Debug Log Level verbose 1 > HTTP Proxy Server Address http_proxy <not set> > PEAR server master_server pear.php.net > PEAR password (for password <not set> > maintainers) > Signature Handling Program sig_bin /usr/bin/gpg > Signature Key Directory sig_keydir /etc/pearkeys > Signature Key Id sig_keyid <not set> > Package Signature Type sig_type gpg > PEAR username (for username <not set> > maintainers) > > php 4.3.11 has found my pear installation, but mod_php does not. I > tested nearly everything. I made also packages from my working system > and overwritten my broken system. But nothing :-( So it seems, that it > is not a php problem. > > http://cst-systemhaus.de/horde/test.php > > > what can i do? > -- [email protected] mailing list
