ubuntu 下安装placon模块以及Developer Tools
2014-10-09 09:32
218 查看
1 更新 php 环境 sudo apt-get install php5-dev libpcre3-dev gcc make php5-mysql
2 安装 git 软件 sudo apt-get install git
3 在github上下载phalcon git clone --depth=1 git://github.com/phalcon/cphalcon.git
4 进入cphalcon/build 然后编译安装 sudo ./install
*********************************************************************************************************************
编译安裝完phalcon之后 需要把extension=phalcon.so添加到php的配置中
ubntu系統上的php扩展的配置添加和xp上不一样 不是直接修改php.ini文件
添加配置 echo 'extension=phalcon.so' | sudo tee -a /etc/php5/mods-available/phalcon.ini
启用phalcon模块 sudo php5enmod phalcon
重启apache2 sudo service apache2 restart
命令行查看phalcon模块:php -i | grep phcon
或者通过phpinfo()查看模块是否安装成功
安装 Developer Tools 之前先切换到超级用户下
1 在github下载 Developer Tools 需要的文件 git clone https://github.com/phalcon/phalcon-devtools.git
2 然后进入 phalcon-devtools 执行 phalcon.sh
root@carey-ThinkPad-T400:/var/www/phalcon-devtools# sh phalcon.sh
Phalcon DevTools (1.3.3)
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
root@carey-ThinkPad-T400:/var/www/phalcon-devtools#
2 安装 git 软件 sudo apt-get install git
3 在github上下载phalcon git clone --depth=1 git://github.com/phalcon/cphalcon.git
4 进入cphalcon/build 然后编译安装 sudo ./install
*********************************************************************************************************************
编译安裝完phalcon之后 需要把extension=phalcon.so添加到php的配置中
ubntu系統上的php扩展的配置添加和xp上不一样 不是直接修改php.ini文件
添加配置 echo 'extension=phalcon.so' | sudo tee -a /etc/php5/mods-available/phalcon.ini
启用phalcon模块 sudo php5enmod phalcon
重启apache2 sudo service apache2 restart
命令行查看phalcon模块:php -i | grep phcon
或者通过phpinfo()查看模块是否安装成功
安装 Developer Tools 之前先切换到超级用户下
1 在github下载 Developer Tools 需要的文件 git clone https://github.com/phalcon/phalcon-devtools.git
2 然后进入 phalcon-devtools 执行 phalcon.sh
root@carey-ThinkPad-T400:/var/www/phalcon-devtools# sh phalcon.sh
Phalcon DevTools (1.3.3)
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
root@carey-ThinkPad-T400:/var/www/phalcon-devtools#
相关文章推荐
- linux/ubuntu 安装 amule 关联 firefox 以及加装反吸血模块
- ubuntu13.04下安装ns-3.17,以及openflow模块的安装
- ubuntu 安装Eclipse c/c++ 以及EPIC perl 编程模块
- ubuntu14.04下安装MySQL-server 以及MySQLdb模块
- linux/ubuntu 安装 amule 关联 firefox 以及加装反吸血模块
- Ubuntu手动安装JDK以及卸载
- ubuntu下安装java以及tomacat
- 在ubuntu9.04上安装ISE SUITE10.1以及Modelsim6.3e
- 虚拟机VMware安装ubuntu以及安装vmtools
- Ubuntu中软件的安装和卸载,以及WINE的使用 && Ubuntu更新源设置更新 && 装12.04 vmware easy install ubuntu 进不去
- Ubuntu 中软件的安装、卸载以及查看的方法总结
- Ubuntu 中软件的安装、卸载以及查看的方法总结
- ubuntu 下c和c++环境配置以及man文档的安装
- Solaris 下安装Perl的DBD-mysql模块失败的原因以及解决办法
- Ubuntu 中软件的安装、卸载以及查看的方法总结
- 在Ubuntu中编译、安装 gcc4.1.1 过程以及遇到的问题
- Ubuntu 中软件的安装、卸载以及查看的方法
- Ubuntu下 Awstats的安装以及设置
- ubuntu安装中文支持以及scim中文输入
- Ubuntu下安装配置Tomcat 5.5.20,以及MySQL连接池的配置