jafar
April 17, 2018, 6:46pm
1
I have installed Composer, etc. However when I issue the bin/cake server -H 192.168.12.12 -p 1234 I get:
PHP Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE)
I run the bin/cake as root, any suggestions.
1 Like
dakota
April 18, 2018, 7:12am
2
What version of cakephp?
What is the full error message (Including file names)?
Marcel
April 18, 2018, 9:48am
3
Based on error example you gave, I can only tell that something is wrong.
You forgot about most important PHP Parse error: syntax error, error in path_to_file on line line_number
dakota
April 18, 2018, 5:04pm
5
And what is the rest of the error message
jafar
April 19, 2018, 5:25pm
6
Hi, Thank you for your notes. I am in the process of upgrading to PHP 7. I will report back to how Cake is doing with PHP7. I will add an update tomorrow.