[horde] Horde 5 - Errors in log file

Vilius Šumskas vilius at lnk.lt
Mon Nov 19 15:27:25 UTC 2012


> I'm seeing some errors in my log file and just need to know if I can
> ignore them for now, or do I need to fix them myself?


 
> I'm running
> [root at www ~]# php -v
> PHP 5.3.3 (cli) (built: Aug 22 2012 20:50:05)
> Copyright (c) 1997-2010 The PHP Group
> Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
> 
> I'm seeing:
> Nov 18 07:45:01 www php: PHP Deprecated:  Assigning the return value
> of new by reference is deprecated in /usr/share/pear/PEAR/Config.php
> on line 650

<snip>

> And this:
> Nov 18 07:45:01 www php: PHP Deprecated:  Function
> set_magic_quotes_runtime() is deprecated in
> /usr/share/pear/PEAR/Config.php on line 1026
> Nov 18 07:45:01 www php: PHP Deprecated:  Function
> set_magic_quotes_runtime() is deprecated in
> /usr/share/pear/PEAR/Config.php on line 1033
> 
> 
> Which seems to be fixed by replacing all the lines with
> set_magic_quotes_runtime(0); with ini_set("magic_quotes_runtime", 0);
> 
> 
> This "fixes" I found by searching the 'Net, I don't know if that is
> the proper way, but doing this removes these errors and my install
> seems to be functioning just fine.

The proper way would be to upgrade your PEAR. It is way too old for the version of PHP you are running.

-- 
   Vilius



More information about the horde mailing list