Koozali.org: home of the SME Server

php deprecated on PEAR

Offline davidS

  • ***
  • 80
  • +0/-0
php deprecated on PEAR
« 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
« Last Edit: August 13, 2014, 10:48:25 PM by sibony88 »

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: php deprecated on PEAR
« Reply #1 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
« Last Edit: August 14, 2014, 03:47:18 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline davidS

  • ***
  • 80
  • +0/-0
Re: php deprecated on PEAR
« Reply #2 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

Offline davidS

  • ***
  • 80
  • +0/-0
Re: php deprecated on PEAR
« Reply #3 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 ?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: php deprecated on PEAR
« Reply #4 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
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: php deprecated on PEAR
« Reply #5 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
« Last Edit: August 15, 2014, 11:06:39 AM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: php deprecated on PEAR
« Reply #6 on: August 27, 2014, 05:39:54 PM »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!