[horde] Install Horde 5 fails with new server
Ralf Lang
lang at b1-systems.de
Thu Jul 11 22:38:39 UTC 2013
>>>> webmail-install
>>>> PHP Warning: require_once(PEAR/Config.php): failed to open stream: No
>>>> such file or directory in /usr/bin/webmail-install on line 15
>>>>
>>>> Warning: require_once(PEAR/Config.php): failed to open stream: No such
>>>> file or directory in /usr/bin/webmail-install on line 15
>>>> PHP Fatal error: require_once(): Failed opening required
>>>> 'PEAR/Config.php'
>>>> (include_path='.:/php/**includes:/usr/lib/php:/usr/**lib64/php/PEAR') in
>>>> /usr/bin/webmail-install on line 15
>>>>
>>>
>> And do you have that file in one of those paths? If not, it doesn't matter
>> what other people tell you, your include_path is still wrong, or your PEAR
>> installation is still broken.
>>
>> Fatal error: require_once(): Failed opening required 'PEAR/Config.php'
>>>> (include_path='.:/php/**includes:/usr/lib/php:/usr/**lib64/php/PEAR') in
>>>> /usr/bin/webmail-install on line 15
>>>>
>>>> Which OS?
>>>> Slackware64-14.0 (upgraded to latest packages)
>>>>
>>>> Which PHP version?
>>>> root <at> lhost2:~# php -v
>>>> PHP 5.4.16 (cli) (built: Jun 8 2013 18:06:14)
>>>> Copyright (c) 1997-2013 The PHP Group
>>>> Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
>>>>
>>>> Can you show the include path from /etc/php/cli/php.ini ?
>>>> root <at> lhost2:~# cat /etc/httpd/php.ini | grep include_path
>>>> include_path = ".:/php/includes:/usr/lib/php:**/usr/lib64/php/PEAR"
>>>>
>>>> Which PEAR version?
>>>> root <at> lhost2:~# pear info pear
>>>> About pear.php.net/PEAR-1.9.4
>>>> Release Date 2011-07-06 22:11:24
>>>> Release Version 1.9.4 (stable)
>>>> API Version 1.9.4 (stable)
>>>>
>>>> What happens when you run "pear upgrade pear" first?
>>>> root <at> lhost2:~# pear upgrade pear
>>>> Nothing to upgrade
>>>>
>>>>
>>
>> --
>> Jan Schneider
>> The Horde Project
>> http://www.horde.org/
>>
>>
> Someone on Linuxquestions.org had a brilliant idea to check where pear
> think he lives:
>
> pear config-show | grep 'PEAR directory'
> PEAR directory php_dir /usr/lib64/php
>
> Which is correct.
>
> Then that person suggested to find out where PHP looks for stuff:
>
> php -r 'echo get_include_path() . PHP_EOL;'
> .:/usr/lib64/php:/usr/include/php:/usr/lib64/php/PEAR
>
> Which includes the path(s) I entered in php.ini and ALSO the path where the
> Horde directory inside PEAR is located (/usr/lib64/php/Horde)
>
> Regarding the files that webmail-setup complains cannot be found (such as
> Application.php), there are Application.php files under:
>
> /usr/lib64/php/Horde/Autoloader/ClassPathMapper/Application.php
> /usr/lib64/php/Horde/Core/Ajax/Application.php
> /usr/lib64/php/Horde/Core/Auth/Application.php
> /usr/lib64/php/Horde/Registry/Application.php
> /usr/lib64/php/Cache/Application.php
Are these files actually in these places yes or no? Are they readable
for the user that runs the webmail script?
If no: You are missing packages or files.
If yes: maybe a caching issue. Can you run horde-autoloader-cache-prune
(if installed).
> But none in the webroot (/var/www/htdocs/horde) I entered during the "pear
> run-scripts horde/horde_role" command. Which command or script exactly
> copies the files from the pear directory to the final webroot directory so
> I can actually use Horde thru apache??
There is no such command. Files are not copied around.
> My Pear setup might be broken but if its the case its a whole lot of people
> and a complete distro that is in trouble.
--
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/horde/attachments/20130712/9af9fbd7/attachment.bin>
More information about the horde
mailing list