hello,
I just uploaded the brand new 2.0.17 package on my new server, and after extracting it from the archive, it gives me syntax errors, why now when on the other server it was working fine???
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/******/public_html/index.php on line 114
Parse error: syntax error, unexpected T_FUNCTION in /home/******/public_html/install.php on line 39
You have a very old version of PHP on your server... would guess PHP 5.2 from the error message. You need 5.4 or higher to run 2.0.17.
(PHP 5.2 went unsupported by the PHP team in 2011)
ok I had a doubt because to change the php selector it's much more complicated than on the other server, so I stayed in 5.2 despite it's marked 7.3 in front of my domains.
Thanks a lot
Yeah, it won't work on 5.2 any more, needs to be at least 5.4, 5.6 is better, SMF 2.0 supports up to 7.2.