Discussion:Php 5 mysql 5
par contre maintenant j'ai en erreur sur mes log:
Code:
Nov 27 15:47:03 localhost httpd: PHP Notice: Only variable references should be returned by reference in /home/httpd/html/horde/lib/Horde/Cipher/BlockMode.php on line 48
Nov 27 16:18:47 localhost httpd: PHP Notice: Only variable references should be returned by reference in /home/httpd/html/horde/lib/Horde/DataTree.php on line 1180
Nov 27 16:18:47 localhost httpd: PHP Notice: Only variable references should be returned by reference in /home/httpd/html/horde/lib/Horde/Perms.php on line 347
Nov 27 16:18:47 localhost httpd: PHP Notice: Only variable references should be returned by reference in /home/httpd/html/horde/lib/Horde/Auth.php on line 1168
en voyant ce message et le probleme des variable, je me demandais si c'etait lié et si c'etait risqué en production d'avoir ce genre de log ?? Sachant que je n'ai pas de scripts perso !!
Sommaire
Reponse
salut
apparement ces problemes avec horde existait deja avec SME5 lors d emsie à jour de php, voila les suggestions de l'époque :
PHP 4.1.1 doesn't like some of the database calls that IMP uses, even though they still work. To avoid having errors clutter up your screen, you'll want to find the line that says display_errors and set that to Off . If you want them to be logged, set log_errors to On , and error_log to syslog.
ebauche nouvelle version PHP5
yum --enablerepo=centosplus php
=================================================================
Package Arch Version Repository Size
=================================================================
Installing:
php-xml i386 5.1.6-3.el4s1.8 centosplus 85 k replacing php-domxml.i386 4.3.9-3.22.9
Updating:
php i386 5.1.6-3.el4s1.8 centosplus 1.1 M
Installing for dependencies:
mysql-libs i386 5.0.58-1.el4.centos centosplus 1.8 M php-cli i386 5.1.6-3.el4s1.8 centosplus 2.0 M php-common i386 5.1.6-3.el4s1.8 centosplus 136 k php-pdo i386 5.1.6-3.el4s1.8 centosplus 220 k
Updating for dependencies:
php-gd i386 5.1.6-3.el4s1.8 centosplus 102 k php-imap i386 5.1.6-3.el4s1.8 centosplus 48 k php-ldap i386 5.1.6-3.el4s1.8 centosplus 31 k php-mbstring i386 5.1.6-3.el4s1.8 centosplus 970 k php-mysql i386 5.1.6-3.el4s1.8 centosplus 77 k php-pear noarch 1:1.4.11-1.el4s1.1 centosplus 345 k
Transaction Summary
=================================================================
Install 5 Package(s) Update 7 Package(s) Remove 0 Package(s) Total download size: 6.9 M Is this ok [y/N]: