[horde] Cannot start horde after upgrade to php7

Ferdinand Gruber fer.grub at yahoo.de
Thu Jun 8 07:48:51 UTC 2017


Am 2017-06-07 um 21:08 schrieb Arjen de Korte:
> Citeren Ferdinand Gruber <fer.grub at 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



More information about the horde mailing list