安装
最后更新于:2022-04-02 02:32:48
[TOC]
## 安装 php 模块
### 通用安装
```
git clone git://github.com/phalcon/php-zephir-parser.git
cd php-zephir-parser
phpize
./configure
make
sudo make install
```
```
[Zephir Parser]
extension=zephir_parser.so
```
### windows
[windows 下载](https://github.com/phalcon/php-zephir-parser/releases/tag/v1.3.4)
```
[Zephir Parser]
extension=php_zephir_parser.dll
```
## 安装 zephir 可执行文件
[下载](https://github.com/phalcon/zephir/releases/tag/0.12.4)
```
> composer global require phalcon/zephir
# ~/.bashrc or ~/.zshrc
export COMPOSER_HOME=~/.composer
export PATH=$PATH:${COMPOSER_HOME}/vendor/bin
> zephir help
```
';