View previous topic :: View next topic |
Author |
Message |
Akaihiryuu l33t
Joined: 08 May 2003 Posts: 798 Location: Columbus, OH
|
Posted: Tue Apr 12, 2011 12:03 am Post subject: Horde and PHP "deprecated" errors |
|
|
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 |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
|
Back to top |
|
|
Akaihiryuu l33t
Joined: 08 May 2003 Posts: 798 Location: Columbus, OH
|
Posted: Tue Apr 12, 2011 1:06 am Post subject: |
|
|
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 |
|
|
malern Apprentice
Joined: 19 Oct 2006 Posts: 170
|
Posted: Tue Apr 12, 2011 9:18 am Post subject: Re: Horde and PHP "deprecated" errors |
|
|
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 |
|
|
|