[horde] Horde 5 - Errors in log file

John H. Bennett III bennettj at thebennetthome.com
Mon Nov 19 15:18:28 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
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 697
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 757
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 786
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 914
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 1577
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 1607
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 2038
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 2091
Nov 18 07:45:01 www php: PHP Deprecated:  Assigning the return value  
of new by reference is deprecated in /usr/share/pear/PEAR/Registry.php  
on line 322
Nov 18 07:45:01 www php: PHP Deprecated:  Assigning the return value  
of new by reference is deprecated in /usr/share/pear/PEAR/Registry.php  
on line 1450
Nov 18 07:45:01 www php: PHP Deprecated:  Assigning the return value  
of new by reference is deprecated in /usr/share/pear/PEAR/Registry.php  
on line 1458

Nov 18 08:20:01 www php: PHP Deprecated:  Assigning the return value  
of new by reference is deprecated in /usr/share/pear/PEAR/Registry.php  
on line 322
Nov 18 08:20:01 www php: PHP Deprecated:  Assigning the return value  
of new by reference is deprecated in /usr/share/pear/PEAR/Registry.php  
on line 1450
Nov 18 08:20:01 www php: PHP Deprecated:  Assigning the return value  
of new by reference is deprecated in /usr/share/pear/PEAR/Registry.php  
on line 1458

Which seems to be fixed by replacing all the lines with &new with just new

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.

Thank you,

John Bennett

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/horde/attachments/20121119/8379fc82/attachment.bin>


More information about the horde mailing list