Installation fails with syntax error on line 2872 (wp-includes/function.php)
-
An attempt to run https://…/blog/wp-admin/install.php fails with the error:
Parse error: syntax error, unexpected ‘{‘ in /nfs/…/blog/wp-includes/functions.php on line 2872
I checked the file, and it seems complete, so this is not a partial-download or truncation issue (5278 lines are present, and the file ends with a legitimate close brace terminating
mysql_to_rfc3339(...). Also, the brace nesting in the function that contains line 2872 seems correct.The PHP version is: PHP 5.2.17 (cli) (built: Apr 1 2016 09:14:22)
The topic ‘Installation fails with syntax error on line 2872 (wp-includes/function.php)’ is closed to new replies.