Linux 系统下使用 Phalcon 开发工具(Phalcon Developer Tools on Linux)

最后更新于:2018-09-01 07:08:51

These steps will guide you through the process of installing Phalcon Developer Tools for Linux.

预备知识(Prerequisites)

The Phalcon PHP extension is required to run Phalcon Tools. If you haven’t installed it yet, please see the Installation
section for instructions.

下载(Download)

You can download a cross platform package containing the developer tools from the Download section. Also you can clone it from Github.

Open a terminal and type the command below:

git clone git://github.com/phalcon/phalcon-devtools.git

http://cdn.itdashu.com/img/phalcon/base/p9alcon/linux-1.png

Then enter the folder where the tools were cloned and execute ”. ./phalcon.sh”, (don’t forget the dot at beginning of the command):

cd phalcon-devtools/

. ./phalcon.sh

http://cdn.itdashu.com/img/phalcon/base/p9alcon/linux-2.png

Create a symbolink link to the phalcon.php script:

ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon

chmod ugo+x /usr/bin/phalcon

Congratulations you now have Phalcon tools installed!

相关指南(Related Guides)