• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Upgrade to PHP 5.3 causes deprecated errors in PSA-Horde

petroski2409

New Pleskian
Hello,

Parallel Plesk Panel 9.5.4 on Cent OS 5.5 64bit

Upgraded my server from PHP.5.1x/mySQL 5.0x to PHP 5.3x/mySQL 5.1.x using Atomic Channel as described at

http://www.atomicorp.com/wiki/index.php/PHP

I had originally intended to just upgrade to PHP 5.2/mySQL 5.1 but found that Atomic had revamped the Wiki to upgrade to PHP 5.3 so I assumed that it was good to go ... (yup, that assume word)

Followed Atomic Wiki directions for both PHP and mySQL upgrades and did system reboot after finished updates. Then went to Plesk panel and applied available new updates for Plesk 9.5.4, one of which was the updates for PHP 5.3 compatibility.

In all, the upgrade went well except for Horde. When I sign into Horde, it seems that the Calendar (Kronolith) has lost functionality in that it doesn't show the actual calendar matrix. In reviewing the /var/log/httpd/error_log file, as soon as I bring up the Horde login page and log in, etc. the log fills with REAMS of PHP Deprecated errors as the example that follows:

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

[Mon Jul 18 10:47:23 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Perms.php on line 455, referer: http://webmail.domainname.tld/kronolith/
[Mon Jul 18 10:47:23 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Perms.php on line 462, referer: http://webmail.domainname.tld/kronolith/
[Mon Jul 18 10:49:12 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-pear/PEAR.php on line 563, referer: http://webmail.domainname.tld/services/portal/sidebar.php
[Mon Jul 18 10:49:12 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-pear/PEAR.php on line 566, referer: http://webmail.domainname.tld/services/portal/sidebar.php
[Mon Jul 18 10:49:12 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-pear/Log.php on line 147, referer: http://webmail.domainname.tld/services/portal/sidebar.php
[Mon Jul 18 10:49:12 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Notification.php on line 64, referer: http://webmail.domainname.tld/services/portal/sidebar.php
[Mon Jul 18 10:49:12 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Perms.php on line 455, referer: http://webmail.domainname.tld/services/portal/sidebar.php
[Mon Jul 18 10:49:12 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-horde/lib/Horde/Perms.php on line 462, referer: http://webmail.domainname.tld/services/portal/sidebar.php
[Mon Jul 18 10:49:13 2011] [error] [client xxx.xxx.xxx.xxx] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/psa-pear/PEAR.php on line 563, referer: http://webmail.domainname.tld/services/portal/sidebar.php

ect, etc, etc, ...

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

It seems like there are incompatibilities with PHP 5.3 and PSA-Horde, does anyone know of any workarounds or available patches for PSA-Horde to rectify this?

Thanks,
Peter
 
You can safely ignore any PHP Deprecated items in log files.

[edit]
Also if you see the warnings on the UI pages you can stop those from showing by editing php.ini and changing error_reporting

error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR ^ E_DEPRECATED
 
Back
Top