centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
574 stars 241 forks source link

Centreon doesn't support PHP 5.3 #1218

Closed centreon closed 9 years ago

centreon commented 13 years ago

Author Name: Radek A (Radek A) Original Redmine Issue: 2247, https://forge.centreon.com/issues/2247 Original Date: 2011-04-03 Original Assignee: Sylvestre Ho


A lot of warnings there in PHP 5.3 :(

( ! ) Deprecated: Function split() is deprecated in /usr/local/centreon/www/install/steps/step4.php on line 146 ( ! ) Deprecated: Function split() is deprecated in /usr/local/centreon/www/install/steps/step5.php on line 56 ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/centreon/www/index.php on line 160 Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/centreon/www/include/monitoring/external_cmd/popup/massive_ack.php on line 101 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/HTML/QuickForm.php on line 597 Deprecated: Function split() is deprecated in /usr/local/centreon/www/include/views/graphs/GetXmlGraph.php on line 181
^ PHP Warning: fopen(/var/lib/centreon/centAcl.lock): failed to open stream: Permission denied in /usr/local/centreon/cron/centAcl.php on line 60 PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/centreon/cron/centAcl.php on line 61 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /usr/local/centreon/cron/centAcl.php on line 62 PHP Warning: unlink(/var/lib/centreon/centAcl.lock): No such file or directory in /usr/local/centreon/cron/centAcl.php on line 396

centreon commented 13 years ago

Original Redmine Comment Author Name: Julien Mathis (Julien Mathis) Original Date: 2011-04-03T19:46:07Z


Hi !

Yes we know that. That's why we have already noticed that actualy Centreon stable version is not compatible with PHP 5.3.

http://www.centreon.com/Centreon/software-requirements.html

This will be fixe on Centreon 2.3.

Regards

centreon commented 13 years ago

Original Redmine Comment Author Name: Sylvestre Ho (Sylvestre Ho) Original Date: 2011-04-05T14:38:51Z


changes were made in revision r12010

removed set_magic_quotes_runtime ereg => preg_match ereg_replace => preg_replace session_register => $_SESSION session_unregister => $_SESSION split => preg_split

the version of phpsysinfo we have is not compatible with php 5.3

centreon commented 13 years ago

Original Redmine Comment Author Name: Sylvestre Ho (Sylvestre Ho) Original Date: 2011-04-19T08:39:21Z


Most deprecated functions have been replaced on Centreon. What we did on top of that is force the error_reporting parameter to "E_ALL & ~E_DEPRECATED"