HugoFara / lwt

Learn languages by reading! A language learning app stemmed from Learning with Texts (LWT).
https://hugofara.github.io/lwt/
The Unlicense
168 stars 19 forks source link

Error, syntax error ( index.php ) on line 96 #139

Closed Hikari2w2 closed 1 year ago

Hikari2w2 commented 1 year ago

Guys i have a problem, i cant use LWT, i've set it up already, i've installed EasyPHP 17.0, i've drag "lwt" (unzipped) into /C:\Program Files\EasyPHP-Devserver-17\eds-www, i've renamed " connect.php.inc "to "connect.inc" but when i start the server and go to "http://127.0.0.1/lwt" it said:

Parse error: syntax error, unexpected ':', expecting '{' in C:\Program Files\EasyPHP-Devserver-17\eds-www\lwt\index.php on line 96

PD: I am ultra supper dummy at these things and i dont know absolutly nothing about how to use/program code or something like that, i just followed the steps that "https://hugofara.github.io/lwt/docs/info.html#install" said.

image

HugoFara commented 1 year ago

Hello, there is 99.99 % chance that your PHP version is below 8.0.

You need your PHP version to be 8.0 at least, see the options here. Hope that works out! :smile: