PHP 5.2: Parse error after installation

Hi

I installed emoncms with this tutorial:

But as i try to call the url i got this message:

Parse error: syntax error, unexpected '[' in /www/htdocs/xxx/xxx/emon/route.php on line 112

What can i do?

I’m getting the same problem.

“Parse error: syntax error, unexpected ‘[’ in /home/sites/mysite.co.uk/public_html/emoncms/route.php on line 112”

In a light bulb moment I tried changing the php version to 5.5. It was on 5.2 and I am now getting the create feed page so looks like progress


Mark

PHP 5.5 is the minimum version supported by Emoncms, 5.6 is recommended.

Does you shared server support docker? Is so, I would consider looking out using Emoncms running in our docker container for easy install:

Requirements section has been added to the readme: