Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: davidS on August 13, 2014, 10:46:11 PM

Title: php deprecated on PEAR
Post by: davidS on August 13, 2014, 10:46:11 PM
hello
i have sme server 9 64bit with upgrade PHP 55 and MYSQL55
i'm receiving php deprecated in /usr/share/pear/PEAR/Config.php on line .....
Quote
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Config.php on line 664
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Config.php on line 713
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Config.php on line 773
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Config.php on line 804
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Config.php on line 932
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Config.php on line 1597
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Config.php on line 1627
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Config.php on line 2060
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Config.php on line 2112
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Registry.php on line 325
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Registry.php on line 1453
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/pear/PEAR/Registry.php on line 1461
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method System::tmpdir() should not be called statically in /usr/share/pear/PEAR/Config.php on line 165
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method System::tmpdir() should not be called statically in /usr/share/pear/PEAR/Config.php on line 174
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method System::tmpdir() should not be called statically in /usr/share/pear/PEAR/Config.php on line 183
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method System::which() should not be called statically in /usr/share/pear/PEAR/Config.php on line 236
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method PEAR_Config::singleton() should not be called statically in /usr/bin/horde-alarms on line 20
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method PEAR_Installer_Role::initializeConfig() should not be called statically, assuming $this from incompatible context in /usr/share/pear/PEAR/Config.php on line 613
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method PEAR_Installer_Role::registerRoles() should not be called statically, assuming $this from incompatible context in /usr/share/pear/PEAR/Installer/Role.php on line 45
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method PEAR_Installer_Role::getBaseinstallRoles() should not be called statically, assuming $this from incompatible context in /usr/share/pear/PEAR/Installer/Role.php on line 270
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method PEAR_Installer_Role::getInstallableRoles() should not be called statically, assuming $this from incompatible context in /usr/share/pear/PEAR/Installer/Role.php on line 271
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method PEAR_Installer_Role::getPhpRoles() should not be called statically, assuming $this from incompatible context in /usr/share/pear/PEAR/Installer/Role.php on line 272
Aug 13 23:35:01 secureserver php: PHP Strict Standards:  Non-static method PEAR_Installer_Role::getValidRoles() should not be called statically, assuming $this from incompatible context in /usr/share/pear/PEAR/Installer/Role.php on line 273
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in /usr/share/pear/PEAR/Config.php on line 1046
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in /usr/share/pear/PEAR/Config.php on line 1053
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in /usr/share/pear/PEAR/Config.php on line 1046
Aug 13 23:35:01 secureserver php: PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in /usr/share/pear/PEAR/Config.php on line 1053

[root@secureserver ~]# pear version
PEAR Version: 1.9.5
PHP Version: 5.5.15
Zend Engine Version: 2.5.0
Running on: Linux secureserver 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014 x86_64
Title: Re: php deprecated on PEAR
Post by: stephdl on August 14, 2014, 03:31:14 PM
Ola

- where do you find your error messages (which logs ?)
- what kind of php application are installed on your server ?
- do you have followed this tutorial : http://wiki.contribs.org/Upgrade_php/mysql#From_remi_repository
Title: Re: php deprecated on PEAR
Post by: davidS on August 14, 2014, 10:25:12 PM
hi
- i see the error in the messages log
- i have many kind of php apps but i think the error started when i installed the smeserver-phpwebftp it is an old one but useful
- yes i followed that tutorial
Title: Re: php deprecated on PEAR
Post by: davidS on August 15, 2014, 01:54:27 AM
i did some testing and the error came from upgrading to horde 5.2 as per: http://forums.contribs.org/index.php/topic,50969.0.html
by removing horde the error gone reinstall it and its back.
is there a way to return to the old horde ?
Title: Re: php deprecated on PEAR
Post by: janet on August 15, 2014, 02:07:34 AM
sibony88

Quote
is there a way to return to the old horde ?

I expect this should do it:
Remove Horde (as you have done), then as Horde is no longer installed, do
yum install horde
signal-event post-upgrade
signal-event reboot
Title: Re: php deprecated on PEAR
Post by: stephdl on August 15, 2014, 08:43:49 AM
i did some testing and the error came from upgrading to horde 5.2 as per: http://forums.contribs.org/index.php/topic,50969.0.html
by removing horde the error gone reinstall it and its back.
is there a way to return to the old horde ?

confirmed, the horde package comes with its pear versions, I'm trying after the installation to update pear with the remi and remi-php55 version.

EDIT : Same warnings after that

Edit2: seems that horde is sensible to pear update/downgrade :http://horde.690.n7.nabble.com/Horde-5-Errors-in-log-file-td103488.html (http://horde.690.n7.nabble.com/Horde-5-Errors-in-log-file-td103488.html)
Title: Re: php deprecated on PEAR
Post by: stephdl on August 27, 2014, 05:39:54 PM
follow bug 8529 http://bugs.contribs.org/show_bug.cgi?id=8529