[prev in list] [next in list] [prev in thread] [next in thread] 

List:       horde
Subject:    Re: [horde] Cannot start horde after upgrade to php7
From:       Ferdinand Gruber <fer.grub () yahoo ! de>
Date:       2017-06-08 7:48:51
Message-ID: 6843652b-0a75-aef8-b19c-9fbd838013c2 () yahoo ! de
[Download RAW message or body]

Am 2017-06-07 um 21:08 schrieb Arjen de Korte:
> Citeren Ferdinand Gruber <fer.grub@yahoo.de>:
>
>> Hi,
>>
>> today I installed PHP7 on my Suse Leap 42.2 server. I got apache2 to 
>> work with this new PHP version.
>> Previous version was PHP5.
>> But now with PHP7 I am no more able to use any of my Horde modules on 
>> this server.
>>
>> In the apache2 log I can see:
>>
>> PHP Fatal error:
>> require_once(): Failed opening required 'Horde/Autoloader/Default.php'
>> (include_path='/srv/www/htdocs/horde/lib:.:/usr/share/php7:/usr/share/php7/PEAR') 
>> in /srv/www/htdocs/horde/lib/core.php on line 49
>>
>> I guess it has something to do with pear. Unfortunately, I understand 
>> little about integrating pear into the system.
>> Please help.
>
> Previously, pear installed to /usr/share/php5/PEAR in your 
> installation. That's probably where the modules are still located. 
> Either add this path to your include path or install all pear modules 
> again in the new location.
>
Thank you for this hint.

I added the path of the existing pear to the include_path definition in 
the new php.ini:

     include_path = 
".:/usr/share/php7:/usr/share/php7/PEAR:/usr/share/php5/PEAR"

Now horde works again.on my server.

-- 
Regards from Austria
Ferdinand Gruber

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic