what version of php have you got available.

note that cake requires php 5.2.8+ (this was upped recently)

also if you have set a specific version for php from you server the cli
will need to be set differently.

$> php -v

if the version you running is less than the required (I think you have 4 by
default)

check with host to see how you can set the php for cli to 5.2.8+
 - S




On 12 February 2012 13:52, Ogalav <[email protected]> wrote:

> hello,
>
> i have this error when gonna to executed the cake bake since console
> ssh
>
> /web_ftp/web/intranet/app >  ./Console/cake
> <br />
> <b>Parse error</b>:  syntax error, unexpected T_STRING, expecting
> T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/homepages/14/
> d392848574/htdocs/benjatel2010/web_ftp/web/intranet/lib/Cake/Console/
> ShellDispatcher.php</b> on line <b>32</b><br />
>
>
> thanl for you help.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to