Issue
I'm starting a new project with cakePHP 3.0 and I'm having problems with the cake console. When I try to run any command like:
bin/cake bake
I get the following error message:
X-Powered-By: PHP/4.4.9 Content-type: text/html
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /homepages/37/d542973365/htdocs/gestioPPF/bin/cake.php on line 33
Parse error: syntax error, unexpected T_STRING in /homepages/37/d542973365/htdocs/gestioPPF/bin/cake.php on line 33
I was working with the console without problems with cakePHP 2.x. Anyone know if I missed some previous configuration?
Thanks in advance, CadÃ.
Solution
X-Powered-By: PHP/4.4.9 Content-type: text/html
If this is the php version (4.4) you're running you won't be able to run CakePHP 3.x at all. Update your php version and see if it works then.
One of the first things to do when using something new is to check it's requirements and documentation. It cleary states there that you need at least PHP 5.4.16 or greater and a few other things.
Answered By - floriank
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.