Phalcon Dev Tools インストール
■ サーバーにlibディレクトリつくってそこへgitからインストールに必要なソースおとす
git clone git://github.com/phalcon/phalcon-devtools.git
■ おとしてきたソースの中へはいりシェル実行
$ cd phalcon-devtools $ /bin/bash phalcon.sh
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/phalcon.so' - /usr/lib64/php/modules/phalcon.so: undefined symbol: php_json_encode in Unknown on line 0 Phalcon DevTools (1.2.4) Available commands: commands (alias of: list, enumerate) controller (alias of: create-controller) model (alias of: create-model) all-models (alias of: create-all-models) project (alias of: create-project) scaffold migration webtools
warning出てるけど、とりあえずインストール完了
■ ためしにコマンド実行してみる
$ phalcon create-project test_phalcon --enable-webtools
Phalcon DevTools (1.2.4) Success: Controller "index" was successfully created. Success: Project 'test_phalcon' was successfully created.
できたできた。
参考)
http://docs.phalconphp.com/en/latest/reference/linuxtools.html
http://blog.fagai.net/2013/08/03/phalcon_php_devtools/