Skip to content

installation issue "identifier (T_STRING)"' or "variable (T_VARIABLE)"' or '{'' or '$'' #965

Closed
@AstmDesign

Description

@AstmDesign

Dear All,
I'm trying to install the Phalcon command on my Mac OSX 10.9.4, After run the commands

cd ~
git clone https://github.com/phalcon/phalcon-devtools.git
cd phalcon-devtools
ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon
chmod ugo+x /usr/bin/phalcon

and when I typing the command $Phalcon I'm usually got this issue on the terminal

Parse error: parse error, expecting "identifier (T_STRING)"' or "variable (T_VARIABLE)"' or '{'' or '$'' in /Users/astm/phalcon-devtools/phalcon.php on line 53

BTW, I'm using PHP Version 5.6.7 and I can see the Phalcon installed from the phpinfo page and this is my Phalcon details

Author: Phalcon Team and contributors
Version: 3.0.0
Build Date: Aug 1 2016 08:27:18
Powered by Zephir: Version 0.9.3a-dev-e716dbe641

and my composer version is :
1.4-dev (64b9423df3cf04034809781cb034470e61225190) 2017-01-19 12:39:26
so why I got this error and how I can fix it to run Phalcon command from my terminal

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions