During migration from nagiosQL 3.2 to 3.4 a got following error in apache ssl_error.log
[Thu Jun 21 13:01:46 2018][error][client XXX.XXX.XXX.XXX] PHP Parse error: syntax error, unexpected '[', expecting ')' in /usr/local/nagiosql/install/index.php on line 42
CentOS release 6.9 (Final)
PHP 5.3.3 (cli) (built: Mar 22 2017 12:27:09)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Maybe old PHP?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Martin
During migration from nagiosQL 3.2 to 3.4 a got following error in apache ssl_error.log
[Thu Jun 21 13:01:46 2018] [error] [client XXX.XXX.XXX.XXX] PHP Parse error: syntax error, unexpected '[', expecting ')' in /usr/local/nagiosql/install/index.php on line 42
CentOS release 6.9 (Final)
PHP 5.3.3 (cli) (built: Mar 22 2017 12:27:09)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Maybe old PHP?
Hi
Yes, as you can read here:
https://sourceforge.net/projects/nagiosql/files/nagiosql/NagiosQL%203.4.0/
Requirements:
PHP 5.5.0 (or above)
Your version is outdated:
http://php.net/supported-versions.php
Last edit: Martin 2018-06-21