I have installed phalcon extension.It was installed successfully but the phalcon command not working. following Error shown.
\"iMac:project Atomix$ phalcon -sh: phalco
This is what I did to install Phalcon Developer-Tools for Mac 10.9:
Step 1
Using terminal, clone the devtools into your preferable location, I used the default document root.
$cd /Library/WebServer/Documents/
$git clone https://github.com/phalcon/phalcon-devtools.git
Step 2
Edit or create ~/.bash_profile
if you don't have one.
export PTOOLSPATH=/Library/WebServer/Documents/phalcon-devtools
export PATH="$PTOOLSPATH:$PATH"
Step 3
$sudo ln -s /Library/WebServer/Documents/phalcon-devtools/phalcon.sh /Library/WebServer/Documents/phalcon-devtools/phalcon
$chmod +x /Library/WebServer/Documents/phalcon-devtools/phalcon
Please make sure you change all the path above (/Library/WebServer/Documents/
) using yours.
Now try phalcon command again in the terminal. I hope it works :).