Closed JapCLoN closed 2 years ago
Line 68 is:
private static Engine $engine;
Using the example index file btw.
Just read the readme on github and it requires php 7.4 and I am on a lower on, however https://flightphp.com/ says 5.3, maybe update that @mikecao
Hello,
I'm trying to install flightphp to create an API endpoint, however when I try to access the page it gives me error 500 and the log says this:
PHP Parse error: syntax error, unexpected 'Engine' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/list/flight/Flight.php on line 68
I am currently on:
I've used flightphp many times, but never had this issue