26-Oct-2020, 09:56 AM
Hello,
I was in the process of installation of Commentics 4.1 on PHP 5.3.29 , Apache 2.2.34, MYSQL 5.5.62
However I face this issue while starting the installation i.e :
Parse error: syntax error, unexpected '[' in /home/{{USERDIR}}/public_html/commentics/{{ADMIN-FOLDER}}/index.php on line 9
This is due to the array syntax of PHP 5.4 being used from line no 9 in index.php i.e :
$session_parameters = [
'cookie_httponly' => 1,
'use_only_cookies' => 1,
'use_trans_sid' => 0,
'gc_maxlifetime' => 1440,
'cookie_lifetime' => 0,
'cookie_path' => '/',
'cookie_secure' => 0
];
Could you please fix this ?. Documentation mentions PHP 5.3.7 or higher required
https://www.commentics.org/requirements
I was in the process of installation of Commentics 4.1 on PHP 5.3.29 , Apache 2.2.34, MYSQL 5.5.62
However I face this issue while starting the installation i.e :
Parse error: syntax error, unexpected '[' in /home/{{USERDIR}}/public_html/commentics/{{ADMIN-FOLDER}}/index.php on line 9
This is due to the array syntax of PHP 5.4 being used from line no 9 in index.php i.e :
$session_parameters = [
'cookie_httponly' => 1,
'use_only_cookies' => 1,
'use_trans_sid' => 0,
'gc_maxlifetime' => 1440,
'cookie_lifetime' => 0,
'cookie_path' => '/',
'cookie_secure' => 0
];
Could you please fix this ?. Documentation mentions PHP 5.3.7 or higher required
https://www.commentics.org/requirements