文档章节

Phalcon Developer Tools on Windows

mickelfeng
 mickelfeng
发布于 2013/07/06 13:20
字数 372
阅读 201
收藏 0

码上生花,ECharts 作品展示赛正式启动!>>>

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

Prerequisites

The Phalcon PHP extension is required to run Phalcon Tools. If you haven’t installed it yet, please see the Installationsection 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.

On the Windows platform, you need to configure the system PATH to include Phalcon tools as well as the PHP executable. If you download the Phalcon tools as a zip archive, extract it on any path of your local drive i.e. c:\phalcon-tools. You will need this path in the steps below. Edit the file “phalcon.bat” by right clicking on the file and selecting “Edit”:

../_images/path-0.png

Change the path to the one you installed the Phalcon tools:

../_images/path-01.png

Save the changes.

Adding PHP and Tools to your system PATH

Because the scripts are written in PHP, you need to install it on your machine. Depending on your PHP installation, the executable can be located in various places. Search for the file php.exe and copy the path it is located in. For instance, if using the latest WAMP stack, PHP is located in: C:\wampbin\php\php5.3.10\php.exe.

From the Windows start menu, right mouse click on the “My Computer” icon and select “Properties”:

../_images/path-1.png

Click the “Advanced” tab and then the button “Environment Variables”:

../_images/path-2.png

At the bottom, look for the section “System variables” and edit the variable “Path”:

../_images/path-3.png

Be very careful on this step! You need to append at the end of the long string the path where your php.exe was located and the path where Phalcon tools are installed. Use the ”;” character to separate the differents paths in the variable:

../_images/path-4.png

Accept the changes made by clicking “OK” and close the dialogs opened. From the start menu click on the option “Run”. If you can’t find this option, press “Windows Key” + “R”.

../_images/path-5.png

Type “cmd” and press enter to open the windows command line utility:

../_images/path-6.png

Type the commands “php -v” and “phalcon” and you will see something like this:

../_images/path-7.png

Congratulations you now have Phalcon tools installed!

本文转载自网络

mickelfeng

mickelfeng

粉丝 238
博文 2811
码字总数 607897
作品 0
成都
高级程序员
私信 提问
加载中
请先登录后再评论。
Phalcon环境搭建与项目开发

简介 Phalcon 是开源、全功能栈、使用 C 扩展编写、针对高性能优化的 PHP 5 框架。 开发者不需要学习和使用 C 语言的功能, 因为所有的功能都以 PHP 类的方式暴露出来,可以直接使用。 Phal...

Minho
2016/09/06
4.2K
0
phalcon系列(1) hello phalcon

接触和对比了了比较多的php框架,要说性能上,c类框架肯定比其他框架的性能要突出很多,就yaf跟phalcon而言,phalcon仅仅比yaf慢了1/10的性能,然而在组件上面却更加丰富。 Phalcon 是开源、...

hey_heihei
2018/02/27
114
0
Phalcon Developer Tools

本文节选自《Netkiller PHP 手札》 http://netkiller.github.io/php/index.html 8.4.1.4. Phalcon Developer Tools # pear channel-discover pear.phalconphp.com pear install phalcon/Devt......

neo-chen
2015/09/16
217
0
phalcon框架的nginx配置

是由编写的php框架,通过扩展的形式加载,所以速度非常快。这里我记录下遇到的一些问题,以便大家学习和自己的提高。 安装phalcon 由于我是系统,所以首先下载,通过编译成扩展: 之后会生成在...

zlxbuzz
2015/11/19
0
0
Phalcon VS Spring 用法对照表(一)

Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | Email Phalcon VS Spring http://www.netkiller.cn/journal/phalcon.spring.html Mr. Ne......

neo-chen
2015/11/24
549
2

没有更多内容

加载失败,请刷新页面

加载更多

如何在macOS或OS X上安装pip? - How do I install pip on macOS or OS X?

问题: This post is a Community Wiki . 这篇文章是社区维基 。 Edit existing answers to improve this post. 编辑现有答案以改善此职位。 It is not currently accepting new answers. 它......

fyin1314
17分钟前
11
0
net.sf.JSONException Map中value字段为null,服务响应500

6月2号凌晨系统生产发布,2号白天仓库作业时有仓库拣选单打印面单接口500,不是所有的拣选单掉接口都是500, 当时通过接口响应正产和响应500,逻辑梳理以及数据对比,最后发现是Map 对象里面...

Lbj虞
23分钟前
3
0
SpringMVC异步请求

AsyncController @Controllerpublic class AsyncController { /** * 1. 控制器返回Callable * 2. Spring异步处理,将Callable提交到TaskExecutor,使用隔离的线城进行执行...

与你同行7Melody
46分钟前
5
0
在动态创建的元素上进行事件绑定? - Event binding on dynamically created elements?

问题: I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/of......

javail
47分钟前
13
0
js 使用canvas 旋转 图片

最左边是原始图片,中间是canvas内容,右边是将canvas内容导出到img标签中 canvas绘图时,确定图片的原始尺寸,不是显示的dom大小,需要创建元素后获得 如果使用dom大小的话,会在绘制时只能...

阿豪boy
58分钟前
16
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部