Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Horde and PHP "deprecated" errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Akaihiryuu
l33t
l33t


Joined: 08 May 2003
Posts: 798
Location: Columbus, OH

PostPosted: Tue Apr 12, 2011 12:03 am    Post subject: Horde and PHP "deprecated" errors Reply with quote

After updating PHP to 5.3.6, I am getting a slew of "deprecated" error messages from Horde whenever I log into it. This is an example:

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/www.internal.lan/htdocs/horde/lib/Horde/Block/Collection.php on line 146

I have read that you can disable these errors by editing php.ini to not show deprecated errors, by setting error reporting = E_ALL & ~E_DEPRECATED, however unless I'm editing the wrong file setting this has no effect on anything. The php.ini I changed was in /etc/php/apache2-php5. I'm not a developer...since Horde is working except for the annoying messages along the side, is there ANY way to turn this off?
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Tue Apr 12, 2011 12:36 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-869859.html

not sure if what you've tried effectively amounts to the same thing; this is, among the reasons, I'm avoiding a move to 5.3 for the time being - I'll hold onto it until it's flat-out unsupported.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Akaihiryuu
l33t
l33t


Joined: 08 May 2003
Posts: 798
Location: Columbus, OH

PostPosted: Tue Apr 12, 2011 1:06 am    Post subject: Reply with quote

Tried changing the error reporting behavior as they said...it didn't work. There doesn't seem to be any way to get rid of the deprecated warnings with this version. I'm considering just reverting it.
Back to top
View user's profile Send private message
malern
Apprentice
Apprentice


Joined: 19 Oct 2006
Posts: 170

PostPosted: Tue Apr 12, 2011 9:18 am    Post subject: Re: Horde and PHP "deprecated" errors Reply with quote

Akaihiryuu wrote:
The php.ini I changed was in /etc/php/apache2-php5

The ini file for 5.3.6 should be in /etc/php/apache2-php5.3, the ini file in /etc/php/apache2-php5 is for the old unslotted version of php (which is probably not what you are running).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum