文档章节

Phalcon Developer Tools on Windows

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

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

粉丝 229
博文 2671
码字总数 569153
作品 0
成都
高级程序员
私信 提问
Phalcon环境搭建与项目开发

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

Minho
2016/09/06
1K
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
168
0
phalcon系列(1) hello phalcon

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

hey_heihei
02/27
0
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
508
2

没有更多内容

加载失败,请刷新页面

加载更多

重磅!亚洲诚信实力斩获:“2018 DigiCert/Symantec 年度最佳创新合作伙伴”大奖

2018年11月13日-16日,全球顶级数字证书厂商,DigiCert/Symantec亚太区圆桌会议(Asia Partner Roundtable 2018)在日本大阪隆重召开。 亚洲诚信作为DigiCert/Symantec亚太区白金战略合作伙伴和...

亚洲诚信
20分钟前
2
0
始于阿里,回归社区:阿里8个项目进入CNCF云原生全景图

摘要: 一群技术理想主义者,与太平洋另一边的技术高手们正面PK,在这场躲不开的战役中,一起认真一把。 破土而出的生命力,源自理想主义者心底对技术的信念。 云原生技术正席卷全球,云原生...

阿里云官方博客
27分钟前
3
0
修改this指向(bind、call 和 apply)

一、bind bind 的其中一个用法就是:绑定函数,使其无论怎么样调用都用相同的 this 示例: var obj = { getThis: function() { console.log(this); }};obj.getThis()...

文文1
今天
1
0
WSL安装JDK8

下载地址 JDK_URL https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html UNLIMITED_STRENGTH_URL https://www.oracle.com/technetwork/java/javase/down......

terwergreen
今天
4
0
sparkStreaming基本概念

概述 Spark Streaming 是 Spark Core API 的扩展, 它支持弹性的, 高吞吐的, 容错的实时数据流的处理. 数据可以通过多种数据源获取, 例如 Kafka, Flume, Kinesis 以及 TCP sockets, 也可以通过...

freeli
今天
7
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部